Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001482/0.001482, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.572/1.572, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.18/1.18, allocations: 119.3 MB / 411 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.91 kB / 0.491 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6248/0.6263, allocations: 80.69 MB / 0.5697 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002985/0.6293, allocations: 1.406 MB / 0.5711 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.6306, allocations: 0.57 MB / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.742e-05/0.6307, allocations: 0 / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.6318, allocations: 0.862 MB / 0.5725 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.633, allocations: 0.9134 MB / 0.5734 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.6334, allocations: 77.09 kB / 0.5735 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.002227/0.6356, allocations: 2.193 MB / 0.5756 GB, free: 39.77 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.6357, allocations: 6.75 kB / 0.5756 GB, free: 39.77 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.6369, allocations: 1.083 MB / 0.5767 GB, free: 39.25 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00239/0.6393, allocations: 2.048 MB / 0.5787 GB, free: 38.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000355/0.6397, allocations: 128.8 kB / 0.5788 GB, free: 38.46 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004731/0.6402, allocations: 208 kB / 0.579 GB, free: 38.41 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.005708/0.6459, allocations: 4.986 MB / 0.5839 GB, free: 35.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002458/0.6483, allocations: 2.824 MB / 0.5866 GB, free: 32.32 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004813/0.6532, allocations: 6.128 MB / 0.5926 GB, free: 26.16 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.6532, allocations: 0 / 0.5926 GB, free: 26.16 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.945e-06/0.6532, allocations: 0 / 0.5926 GB, free: 26.16 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001498/0.6534, allocations: 4 kB / 0.5926 GB, free: 26.16 MB / 462.3 MB 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.01006/0.6634, allocations: 9.959 MB / 0.6023 GB, free: 16.06 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.6635, allocations: 12.03 kB / 0.6024 GB, free: 16.05 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.6647, allocations: 1.1 MB / 0.6034 GB, free: 14.94 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01859/0.6833, allocations: 12.95 MB / 0.6161 GB, free: 1.859 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.6834, allocations: 8.312 kB / 0.6161 GB, free: 1.852 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.279e-05/0.6835, allocations: 32.38 kB / 0.6161 GB, free: 1.82 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.6839, allocations: 429.6 kB / 0.6165 GB, free: 1.395 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.6839, allocations: 0 / 0.6165 GB, free: 1.395 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.515e-05/0.684, allocations: 36 kB / 0.6166 GB, free: 1.359 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.684, allocations: 0 / 0.6166 GB, free: 1.359 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.6843, allocations: 236 kB / 0.6168 GB, free: 1.129 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008689/0.693, allocations: 3.572 MB / 0.6203 GB, free: 13.51 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000801/0.6939, allocations: 162.5 kB / 0.6204 GB, free: 13.34 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005287/0.6945, allocations: 156.9 kB / 0.6206 GB, free: 13.19 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.6945, allocations: 7.938 kB / 0.6206 GB, free: 13.18 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008915/0.6954, allocations: 416.7 kB / 0.621 GB, free: 12.75 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 7.554e-06/0.6955, allocations: 0 / 0.621 GB, free: 12.75 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.005453/0.7009, allocations: 2.192 MB / 0.6231 GB, free: 10.54 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.7011, allocations: 89.03 kB / 0.6232 GB, free: 10.43 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02874/0.7299, allocations: 12.46 MB / 0.6354 GB, free: 14.07 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0003094/0.7303, allocations: 57.7 kB / 0.6354 GB, free: 14 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0074/0.7377, allocations: 5.208 MB / 0.6405 GB, free: 8.793 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004359/0.7382, allocations: 51.73 kB / 0.6406 GB, free: 8.742 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005822/0.7388, allocations: 241.7 kB / 0.6408 GB, free: 8.5 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.739, allocations: 314 kB / 0.6411 GB, free: 8.188 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.7393, allocations: 136 kB / 0.6412 GB, free: 8.055 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.7395, allocations: 140 kB / 0.6414 GB, free: 7.918 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/0.7401, allocations: 356.3 kB / 0.6417 GB, free: 7.555 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.7401, allocations: 0 / 0.6417 GB, free: 7.555 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.004125/0.7443, allocations: 2.055 MB / 0.6437 GB, free: 5.473 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/0.7443, allocations: 37.7 kB / 0.6438 GB, free: 5.43 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7444, allocations: 4 kB / 0.6438 GB, free: 5.426 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.7444, allocations: 0 / 0.6438 GB, free: 5.426 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.7445, allocations: 4 kB / 0.6438 GB, free: 5.422 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7445, allocations: 3.984 kB / 0.6438 GB, free: 5.418 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.7463, allocations: 36 kB / 0.6438 GB, free: 5.383 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004222/0.7467, allocations: 440 kB / 0.6442 GB, free: 4.953 MB / 494.3 MB 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.004831/0.7516, allocations: 2.531 MB / 0.6467 GB, free: 2.406 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002429/0.754, allocations: 1.141 MB / 0.6478 GB, free: 1.25 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/0.7574, allocations: 1.28 MB / 0.6491 GB, free: 15.96 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.7574, allocations: 8 kB / 0.6491 GB, free: 15.95 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.7575, allocations: 3.938 kB / 0.6491 GB, free: 15.95 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.7575, allocations: 0 / 0.6491 GB, free: 15.95 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.7678, allocations: 3.884 MB / 0.6529 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.7679, allocations: 7.938 kB / 0.6529 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.298e-05/0.768, allocations: 3.938 kB / 0.6529 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.768, allocations: 0 / 0.6529 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002727/0.7682, allocations: 100 kB / 0.653 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.7683, allocations: 0 / 0.653 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.7683, allocations: 0 / 0.653 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.7722, allocations: 2.17 MB / 0.6551 GB, free: 9.703 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002679/0.7749, allocations: 1.033 MB / 0.6561 GB, free: 8.637 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/0.776, allocations: 40 kB / 0.6561 GB, free: 8.598 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.7772, allocations: 32 kB / 0.6562 GB, free: 8.566 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.7772, allocations: 7.984 kB / 0.6562 GB, free: 8.559 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003874/0.7776, allocations: 440 kB / 0.6566 GB, free: 8.129 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01764/0.7953, allocations: 8.567 MB / 0.665 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.725e-06/0.7953, allocations: 0 / 0.665 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.002248/0.7976, allocations: 351.9 kB / 0.6653 GB, free: 15.3 MB / 0.5139 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.0005414/0.7981, allocations: 159.7 kB / 0.6654 GB, free: 15.13 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.7992, allocations: 415.4 kB / 0.6658 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.7992, allocations: 4 kB / 0.6658 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.7996, allocations: 263.4 kB / 0.6661 GB, free: 14.44 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005795/0.8054, allocations: 0.8505 MB / 0.6669 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02838/0.8339, allocations: 17.26 MB / 0.6838 GB, free: 12.29 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007711/0.8416, allocations: 4.789 MB / 0.6885 GB, free: 7.477 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.007651/0.8493, allocations: 2.426 MB / 0.6908 GB, free: 5.039 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.8504, allocations: 0.4995 MB / 0.6913 GB, free: 4.539 MB / 0.5295 GB Notification: Performance of SimCode: time 1.193e-06/0.8504, allocations: 0 / 0.6913 GB, free: 4.539 MB / 0.5295 GB Notification: Performance of Templates: time 0.1235/0.9739, allocations: 41.1 MB / 0.7315 GB, free: 11.32 MB / 0.5764 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches