Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001462/0.001462, allocations: 106.9 kB / 16.92 MB, free: 5.777 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.001414/0.001414, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.289/1.289, 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 0.8927/0.8927, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.89 kB / 0.4909 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4857/0.487, allocations: 80.68 MB / 0.5697 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002427/0.4895, allocations: 1.417 MB / 0.5711 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008669/0.4904, allocations: 0.5737 MB / 0.5717 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.4904, allocations: 0 / 0.5717 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0006038/0.4911, allocations: 0.8629 MB / 0.5725 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0007238/0.4918, allocations: 0.909 MB / 0.5734 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.4921, allocations: 76.5 kB / 0.5735 GB, free: 40.87 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.4937, allocations: 2.185 MB / 0.5756 GB, free: 39.81 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.373e-05/0.4937, allocations: 7.078 kB / 0.5756 GB, free: 39.81 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.4948, allocations: 1.091 MB / 0.5767 GB, free: 39.28 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/0.4968, allocations: 2.044 MB / 0.5787 GB, free: 38.5 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002967/0.4971, allocations: 127.5 kB / 0.5788 GB, free: 38.5 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003829/0.4975, allocations: 204.8 kB / 0.579 GB, free: 38.45 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.004284/0.5018, allocations: 4.985 MB / 0.5839 GB, free: 35.19 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001975/0.5038, allocations: 2.828 MB / 0.5866 GB, free: 32.34 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003146/0.507, allocations: 6.124 MB / 0.5926 GB, free: 26.18 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.507, allocations: 4 kB / 0.5926 GB, free: 26.18 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.746e-06/0.507, allocations: 0 / 0.5926 GB, free: 26.18 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001048/0.5071, allocations: 0 / 0.5926 GB, free: 26.18 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.007752/0.5149, allocations: 9.959 MB / 0.6023 GB, free: 16.08 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.5149, allocations: 12.03 kB / 0.6023 GB, free: 16.07 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009182/0.5159, allocations: 1.1 MB / 0.6034 GB, free: 14.95 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0163/0.5322, allocations: 12.95 MB / 0.6161 GB, free: 1.875 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.5322, allocations: 4.375 kB / 0.6161 GB, free: 1.871 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.5323, allocations: 32.38 kB / 0.6161 GB, free: 1.84 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.5328, allocations: 437.6 kB / 0.6165 GB, free: 1.406 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.5328, allocations: 0 / 0.6165 GB, free: 1.406 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.5329, allocations: 32 kB / 0.6166 GB, free: 1.375 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5329, allocations: 0 / 0.6166 GB, free: 1.375 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.5332, allocations: 240 kB / 0.6168 GB, free: 1.141 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00416/0.5373, allocations: 3.572 MB / 0.6203 GB, free: 13.52 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.5376, allocations: 166.6 kB / 0.6204 GB, free: 13.35 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.5379, allocations: 156.8 kB / 0.6206 GB, free: 13.2 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.5379, allocations: 4 kB / 0.6206 GB, free: 13.19 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005155/0.5384, allocations: 416.6 kB / 0.621 GB, free: 12.77 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 2.454e-06/0.5384, allocations: 0 / 0.621 GB, free: 12.77 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.002746/0.5412, allocations: 2.192 MB / 0.6231 GB, free: 10.55 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.5413, allocations: 81.11 kB / 0.6232 GB, free: 10.45 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01511/0.5564, allocations: 12.46 MB / 0.6354 GB, free: 14.08 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.5566, allocations: 57.7 kB / 0.6354 GB, free: 14.02 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.00462/0.5612, allocations: 5.212 MB / 0.6405 GB, free: 8.805 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.5614, allocations: 43.75 kB / 0.6406 GB, free: 8.762 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.5617, allocations: 245.7 kB / 0.6408 GB, free: 8.516 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.5618, allocations: 310 kB / 0.6411 GB, free: 8.207 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.562, allocations: 139.9 kB / 0.6412 GB, free: 8.07 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.5623, allocations: 148 kB / 0.6414 GB, free: 7.926 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.5628, allocations: 348.2 kB / 0.6417 GB, free: 7.57 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5628, allocations: 0 / 0.6417 GB, free: 7.57 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002784/0.5656, allocations: 2.059 MB / 0.6437 GB, free: 5.484 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.5656, allocations: 37.69 kB / 0.6437 GB, free: 5.441 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5656, allocations: 0 / 0.6437 GB, free: 5.441 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5657, allocations: 0 / 0.6437 GB, free: 5.441 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.5657, allocations: 4 kB / 0.6437 GB, free: 5.438 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.5658, allocations: 4 kB / 0.6437 GB, free: 5.434 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.5671, allocations: 32 kB / 0.6438 GB, free: 5.402 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003366/0.5675, allocations: 444 kB / 0.6442 GB, free: 4.969 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.003476/0.571, allocations: 2.521 MB / 0.6467 GB, free: 2.43 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/0.5727, allocations: 1.153 MB / 0.6478 GB, free: 1.262 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.5749, allocations: 1.288 MB / 0.649 GB, free: 15.96 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5749, allocations: 0 / 0.649 GB, free: 15.96 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.5749, allocations: 0 / 0.649 GB, free: 15.96 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5749, allocations: 4.078 kB / 0.6491 GB, free: 15.96 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/0.5786, allocations: 3.888 MB / 0.6529 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5787, allocations: 0 / 0.6529 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-05/0.5787, allocations: 7.922 kB / 0.6529 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.5787, allocations: 0 / 0.6529 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.5789, allocations: 104 kB / 0.653 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5789, allocations: 4 kB / 0.653 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5789, allocations: 7.922 kB / 0.653 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.5815, allocations: 2.158 MB / 0.6551 GB, free: 9.711 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/0.5833, allocations: 1.037 MB / 0.6561 GB, free: 8.641 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007687/0.5841, allocations: 36 kB / 0.6561 GB, free: 8.605 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008883/0.585, allocations: 32 kB / 0.6562 GB, free: 8.574 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.5851, allocations: 4 kB / 0.6562 GB, free: 8.57 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003599/0.5854, allocations: 440 kB / 0.6566 GB, free: 8.141 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01266/0.5981, allocations: 8.571 MB / 0.6649 GB, free: 15.65 MB / 0.5139 GB Notification: Performance of sort global known variables: time 3.6e-07/0.5981, allocations: 0 / 0.6649 GB, free: 15.65 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.001615/0.5997, allocations: 344 kB / 0.6653 GB, free: 15.31 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.0002644/0.6, allocations: 155.7 kB / 0.6654 GB, free: 15.15 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007157/0.6007, allocations: 427.5 kB / 0.6658 GB, free: 14.72 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6008, allocations: 0 / 0.6658 GB, free: 14.72 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.6011, allocations: 259.4 kB / 0.6661 GB, free: 14.46 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/0.6039, allocations: 0.8644 MB / 0.6669 GB, free: 13.6 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/0.6251, allocations: 17.25 MB / 0.6838 GB, free: 12.3 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004279/0.6294, allocations: 4.785 MB / 0.6884 GB, free: 7.492 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.006363/0.6358, allocations: 2.43 MB / 0.6908 GB, free: 5.051 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007767/0.6366, allocations: 0.4995 MB / 0.6913 GB, free: 4.551 MB / 0.5295 GB Notification: Performance of SimCode: time 1.853e-06/0.6366, allocations: 0 / 0.6913 GB, free: 4.551 MB / 0.5295 GB Notification: Performance of Templates: time 0.1002/0.7368, allocations: 41.1 MB / 0.7314 GB, free: 11.32 MB / 0.5764 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches