Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 107.1 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 188.2 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9582/0.9582, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 62.38 kB / 0.5716 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1535, allocations: 80.7 MB / 0.6504 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002416/0.156, allocations: 1.406 MB / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009374/0.1569, allocations: 0.5768 MB / 0.6523 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.157, allocations: 0 / 0.6523 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.1581, allocations: 1.719 MB / 0.654 GB, free: 9.352 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.1593, allocations: 1.758 MB / 0.6557 GB, free: 7.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1597, allocations: 83.77 kB / 0.6558 GB, free: 7.508 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.002913/0.1626, allocations: 4.311 MB / 0.66 GB, free: 3.191 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.1627, allocations: 8 kB / 0.66 GB, free: 3.184 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.165, allocations: 2.141 MB / 0.6621 GB, free: 1.039 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003683/0.1687, allocations: 4.052 MB / 0.666 GB, free: 12.98 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005279/0.1693, allocations: 255.9 kB / 0.6663 GB, free: 12.73 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006292/0.1699, allocations: 323.9 kB / 0.6666 GB, free: 12.41 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.01019/0.1801, allocations: 9.962 MB / 0.6763 GB, free: 2.426 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.006823/0.187, allocations: 5.632 MB / 0.6818 GB, free: 12.73 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.1984, allocations: 12.42 MB / 0.694 GB, free: 260 kB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1985, allocations: 0 / 0.694 GB, free: 260 kB / 0.5295 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1985, allocations: 0 / 0.694 GB, free: 260 kB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0004436/0.1989, allocations: 4 kB / 0.694 GB, free: 256 kB / 0.5295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02394/0.2229, allocations: 19.56 MB / 0.7131 GB, free: 12.46 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.2229, allocations: 12.03 kB / 0.7131 GB, free: 12.45 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002835/0.2258, allocations: 2.21 MB / 0.7152 GB, free: 10.21 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04567/0.2715, allocations: 25.82 MB / 0.7404 GB, free: 200 kB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.2715, allocations: 384 / 0.7404 GB, free: 200 kB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.2717, allocations: 68.31 kB / 0.7405 GB, free: 132 kB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009141/0.2726, allocations: 0.7786 MB / 0.7413 GB, free: 15.34 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2727, allocations: 8 kB / 0.7413 GB, free: 15.34 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.2728, allocations: 60 kB / 0.7413 GB, free: 15.28 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2728, allocations: 4 kB / 0.7413 GB, free: 15.27 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/0.2733, allocations: 456 kB / 0.7418 GB, free: 14.83 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/0.2836, allocations: 7.003 MB / 0.7486 GB, free: 7.773 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.2843, allocations: 282.6 kB / 0.7489 GB, free: 7.488 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.2847, allocations: 288.8 kB / 0.7492 GB, free: 7.203 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.2847, allocations: 4 kB / 0.7492 GB, free: 7.199 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007205/0.2855, allocations: 0.7034 MB / 0.7498 GB, free: 6.477 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 2.054e-06/0.2855, allocations: 0 / 0.7498 GB, free: 6.477 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.006014/0.2915, allocations: 4.232 MB / 0.754 GB, free: 2.203 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.2916, allocations: 85.05 kB / 0.7541 GB, free: 2.102 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6853/0.9769, allocations: 24.84 MB / 0.7783 GB, free: 86.3 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0006118/0.9776, allocations: 89.14 kB / 0.7784 GB, free: 86.27 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.01097/0.9885, allocations: 10.82 MB / 0.789 GB, free: 77.64 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006326/0.9892, allocations: 87.72 kB / 0.7891 GB, free: 77.64 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000551/0.9898, allocations: 460.9 kB / 0.7895 GB, free: 77.62 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.9898, allocations: 308.1 kB / 0.7898 GB, free: 77.32 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.9903, allocations: 268.4 kB / 0.79 GB, free: 77.31 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.9907, allocations: 264.8 kB / 0.7903 GB, free: 77.3 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009145/0.9916, allocations: 0.5934 MB / 0.7909 GB, free: 77.21 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.9916, allocations: 0 / 0.7909 GB, free: 77.21 MB / 0.6079 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006981/0.9986, allocations: 3.978 MB / 0.7948 GB, free: 77.13 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 5.87e-05/0.9987, allocations: 38.56 kB / 0.7948 GB, free: 77.1 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.9987, allocations: 0.5938 kB / 0.7948 GB, free: 77.1 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.9988, allocations: 0.5625 kB / 0.7948 GB, free: 77.1 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.395e-05/0.9989, allocations: 4.75 kB / 0.7948 GB, free: 77.1 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.9989, allocations: 0.5625 kB / 0.7948 GB, free: 77.1 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/1.001, allocations: 70.89 kB / 0.7949 GB, free: 77.1 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006791/1.002, allocations: 0.8561 MB / 0.7957 GB, free: 76.98 MB / 0.6079 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006434/1.009, allocations: 4.91 MB / 0.8005 GB, free: 76.34 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002986/1.012, allocations: 2.268 MB / 0.8027 GB, free: 76.34 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/1.015, allocations: 2.565 MB / 0.8052 GB, free: 75.6 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.015, allocations: 0 / 0.8052 GB, free: 75.6 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.015, allocations: 3.438 kB / 0.8052 GB, free: 75.6 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/1.015, allocations: 2.016 kB / 0.8052 GB, free: 75.6 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008817/1.024, allocations: 7.616 MB / 0.8127 GB, free: 72.22 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.024, allocations: 0 / 0.8127 GB, free: 72.22 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/1.024, allocations: 3.75 kB / 0.8127 GB, free: 72.22 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-06/1.024, allocations: 2.906 kB / 0.8127 GB, free: 72.22 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004929/1.025, allocations: 200.2 kB / 0.8129 GB, free: 72.21 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.025, allocations: 0 / 0.8129 GB, free: 72.21 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.025, allocations: 3.5 kB / 0.8129 GB, free: 72.21 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004956/1.03, allocations: 4.152 MB / 0.8169 GB, free: 70.69 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003398/1.033, allocations: 1.992 MB / 0.8189 GB, free: 69.14 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001782/1.035, allocations: 67.94 kB / 0.8189 GB, free: 69.07 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/1.037, allocations: 71.98 kB / 0.819 GB, free: 69 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/1.037, allocations: 0 / 0.819 GB, free: 69 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005208/1.038, allocations: 0.8633 MB / 0.8198 GB, free: 68.14 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.02548/1.063, allocations: 17.24 MB / 0.8367 GB, free: 51.05 MB / 0.6079 GB Notification: Performance of sort global known variables: time 3.5e-07/1.063, allocations: 0 / 0.8367 GB, free: 51.05 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.003295/1.066, allocations: 0.6437 MB / 0.8373 GB, free: 50.41 MB / 0.6079 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005426/1.067, allocations: 192.9 kB / 0.8375 GB, free: 50.22 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.001531/1.069, allocations: 0.6879 MB / 0.8382 GB, free: 49.53 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.069, allocations: 3.531 kB / 0.8382 GB, free: 49.53 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.0005741/1.069, allocations: 415.4 kB / 0.8386 GB, free: 49.11 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006945/1.076, allocations: 1.705 MB / 0.8402 GB, free: 47.41 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04753/1.124, allocations: 35.48 MB / 0.8749 GB, free: 12.12 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01042/1.134, allocations: 8.917 MB / 0.8836 GB, free: 3.168 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/1.136, allocations: 0.9877 MB / 0.8845 GB, free: 2.18 MB / 0.6079 GB Notification: Performance of SimCode: time 1.443e-06/1.136, allocations: 0 / 0.8845 GB, free: 2.18 MB / 0.6079 GB Notification: Performance of Templates: time 4.723/5.859, allocations: 1.619 GB / 2.504 GB, free: 98.76 MB / 0.8267 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches