Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001536, allocations: 109.7 kB / 17.06 MB, free: 5.824 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.001847/0.001847, allocations: 191 kB / 18 MB, free: 4.977 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.074/1.074, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 60.81 kB / 0.5709 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.171, allocations: 80.7 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002682/0.1737, allocations: 1.392 MB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1748, allocations: 0.5597 MB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.1748, allocations: 0 / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.175, allocations: 27.84 kB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.1753, allocations: 59.86 kB / 0.6517 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.1756, allocations: 79.8 kB / 0.6518 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1758, allocations: 95.73 kB / 0.6519 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.1758, allocations: 4 kB / 0.6519 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.176, allocations: 51.81 kB / 0.6519 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.1761, allocations: 39.91 kB / 0.6519 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.1761, allocations: 4 kB / 0.6519 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1763, allocations: 87.86 kB / 0.652 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1764, allocations: 59.81 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.1765, allocations: 43.61 kB / 0.6521 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1767, allocations: 155.5 kB / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1767, allocations: 0 / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1767, allocations: 4 kB / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1767, allocations: 7.938 kB / 0.6523 GB, free: 10.4 MB / 0.4983 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.0005373/0.1773, allocations: 480.1 kB / 0.6527 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1773, allocations: 11.89 kB / 0.6528 GB, free: 9.863 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.1773, allocations: 16.75 kB / 0.6528 GB, free: 9.848 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.1778, allocations: 308.7 kB / 0.6531 GB, free: 9.504 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1778, allocations: 384 / 0.6531 GB, free: 9.504 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.1778, allocations: 12.31 kB / 0.6531 GB, free: 9.492 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1779, allocations: 54 kB / 0.6531 GB, free: 9.434 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.178, allocations: 0 / 0.6531 GB, free: 9.434 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.178, allocations: 4 kB / 0.6531 GB, free: 9.43 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.178, allocations: 0 / 0.6531 GB, free: 9.43 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.693e-05/0.1781, allocations: 19.98 kB / 0.6532 GB, free: 9.41 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.1783, allocations: 201.6 kB / 0.6533 GB, free: 9.164 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 7.622e-05/0.1784, allocations: 42.56 kB / 0.6534 GB, free: 9.113 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.1784, allocations: 28.8 kB / 0.6534 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.1784, allocations: 4 kB / 0.6534 GB, free: 9.078 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.1786, allocations: 113.2 kB / 0.6535 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1786, allocations: 0 / 0.6535 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003043/0.1789, allocations: 163.1 kB / 0.6537 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.179, allocations: 89.03 kB / 0.6538 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1792, allocations: 228.2 kB / 0.654 GB, free: 8.438 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1792, allocations: 25.7 kB / 0.654 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.1793, allocations: 128.1 kB / 0.6541 GB, free: 8.277 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.1793, allocations: 7.812 kB / 0.6541 GB, free: 8.27 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.1794, allocations: 33.64 kB / 0.6542 GB, free: 8.23 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1795, allocations: 326.8 kB / 0.6545 GB, free: 7.902 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.1795, allocations: 23.98 kB / 0.6545 GB, free: 7.879 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.1795, allocations: 12 kB / 0.6545 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.1797, allocations: 104.2 kB / 0.6546 GB, free: 7.75 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1797, allocations: 4.094 kB / 0.6546 GB, free: 7.746 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001725/0.1798, allocations: 158.9 kB / 0.6548 GB, free: 7.578 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.1799, allocations: 37.69 kB / 0.6548 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1799, allocations: 0 / 0.6548 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1799, allocations: 0 / 0.6548 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.18, allocations: 4 kB / 0.6548 GB, free: 7.531 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.18, allocations: 0 / 0.6548 GB, free: 7.531 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.18, allocations: 4.141 kB / 0.6548 GB, free: 7.527 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.1801, allocations: 15.98 kB / 0.6548 GB, free: 7.512 MB / 0.4983 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.0001432/0.1802, allocations: 176.8 kB / 0.655 GB, free: 7.324 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.1803, allocations: 23.75 kB / 0.655 GB, free: 7.301 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.1803, allocations: 21.39 kB / 0.655 GB, free: 7.277 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1803, allocations: 4 kB / 0.655 GB, free: 7.273 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1803, allocations: 0 / 0.655 GB, free: 7.273 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1803, allocations: 0 / 0.655 GB, free: 7.273 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.1805, allocations: 221.4 kB / 0.6553 GB, free: 7.008 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1805, allocations: 4 kB / 0.6553 GB, free: 7.004 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.1805, allocations: 7.938 kB / 0.6553 GB, free: 6.996 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1805, allocations: 0 / 0.6553 GB, free: 6.996 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1805, allocations: 4 kB / 0.6553 GB, free: 6.992 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1805, allocations: 0 / 0.6553 GB, free: 6.992 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1806, allocations: 4 kB / 0.6553 GB, free: 6.988 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.1808, allocations: 194.6 kB / 0.6555 GB, free: 6.773 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.1809, allocations: 100.8 kB / 0.6556 GB, free: 6.656 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1809, allocations: 8 kB / 0.6556 GB, free: 6.648 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.107e-05/0.181, allocations: 7.922 kB / 0.6556 GB, free: 6.641 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.181, allocations: 4 kB / 0.6556 GB, free: 6.637 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.181, allocations: 8 kB / 0.6556 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001343/0.1812, allocations: 177.6 kB / 0.6558 GB, free: 6.457 MB / 0.4983 GB Notification: Performance of sort global known variables: time 3.1e-07/0.1812, allocations: 0 / 0.6558 GB, free: 6.457 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002329/0.1814, allocations: 40 kB / 0.6558 GB, free: 6.418 MB / 0.4983 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.0001772/0.1816, allocations: 129.2 kB / 0.6559 GB, free: 6.285 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.1818, allocations: 147.4 kB / 0.6561 GB, free: 6.129 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1818, allocations: 0 / 0.6561 GB, free: 6.129 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 9.599e-05/0.1819, allocations: 107.4 kB / 0.6562 GB, free: 6.012 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1821, allocations: 16.67 kB / 0.6562 GB, free: 5.992 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.1826, allocations: 295.5 kB / 0.6565 GB, free: 5.68 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1829, allocations: 0.7278 MB / 0.6572 GB, free: 4.926 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 7.07e-05/0.183, allocations: 25.62 kB / 0.6572 GB, free: 4.898 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.183, allocations: 19.44 kB / 0.6572 GB, free: 4.883 MB / 0.4983 GB Notification: Performance of SimCode: time 2.31e-07/0.183, allocations: 0 / 0.6572 GB, free: 4.883 MB / 0.4983 GB Notification: Performance of Templates: time 0.004193/0.1872, allocations: 1.36 MB / 0.6585 GB, free: 3.523 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches