Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001323/0.001323, allocations: 196 kB / 18 MB, free: 5.051 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.391/1.391, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.021/1.021, allocations: 119.3 MB / 411.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 66.89 kB / 0.5709 GB, free: 39.72 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1459, allocations: 80.69 MB / 0.6497 GB, free: 13.03 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002227/0.1481, allocations: 1.41 MB / 0.6511 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009159/0.1491, allocations: 0.5808 MB / 0.6516 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.1491, allocations: 0 / 0.6516 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.1494, allocations: 223.7 kB / 0.6519 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.1498, allocations: 267.5 kB / 0.6521 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1501, allocations: 89.59 kB / 0.6522 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004801/0.1506, allocations: 0.6008 MB / 0.6528 GB, free: 9.859 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.1507, allocations: 4 kB / 0.6528 GB, free: 9.855 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.1509, allocations: 311.5 kB / 0.6531 GB, free: 9.551 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004794/0.1514, allocations: 0.5267 MB / 0.6536 GB, free: 9.023 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.009e-05/0.1515, allocations: 36 kB / 0.6536 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.1517, allocations: 115.9 kB / 0.6537 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.1529, allocations: 1.255 MB / 0.655 GB, free: 7.617 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000526/0.1535, allocations: 0.7156 MB / 0.6557 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.1548, allocations: 1.649 MB / 0.6573 GB, free: 5.234 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1548, allocations: 0 / 0.6573 GB, free: 5.234 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1548, allocations: 0 / 0.6573 GB, free: 5.234 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.264e-05/0.1548, allocations: 0 / 0.6573 GB, free: 5.234 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.002712/0.1575, allocations: 2.876 MB / 0.6601 GB, free: 2.285 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1576, allocations: 12.03 kB / 0.6601 GB, free: 2.273 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.1578, allocations: 306.9 kB / 0.6604 GB, free: 1.973 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/0.1623, allocations: 3.359 MB / 0.6637 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1623, allocations: 4.375 kB / 0.6637 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.1623, allocations: 8.375 kB / 0.6637 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.1626, allocations: 153.8 kB / 0.6638 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1626, allocations: 0 / 0.6638 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.1626, allocations: 8 kB / 0.6638 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1626, allocations: 0 / 0.6638 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1628, allocations: 75.89 kB / 0.6639 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009763/0.1638, allocations: 1.015 MB / 0.6649 GB, free: 13.25 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1639, allocations: 66.56 kB / 0.665 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.164, allocations: 64.8 kB / 0.665 GB, free: 13.11 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.164, allocations: 0 / 0.665 GB, free: 13.11 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.1643, allocations: 180.9 kB / 0.6652 GB, free: 12.92 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1643, allocations: 4 kB / 0.6652 GB, free: 12.91 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0008524/0.1651, allocations: 0.6653 MB / 0.6659 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.1652, allocations: 77.11 kB / 0.6659 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/0.1684, allocations: 3.193 MB / 0.669 GB, free: 8.969 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.1685, allocations: 33.7 kB / 0.6691 GB, free: 8.93 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.1695, allocations: 1.24 MB / 0.6703 GB, free: 7.688 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/0.1696, allocations: 19.91 kB / 0.6703 GB, free: 7.668 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.1697, allocations: 81.64 kB / 0.6704 GB, free: 7.582 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1698, allocations: 318 kB / 0.6707 GB, free: 7.266 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/0.1699, allocations: 43.98 kB / 0.6707 GB, free: 7.223 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.311e-05/0.17, allocations: 47.94 kB / 0.6708 GB, free: 7.176 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.1702, allocations: 168.4 kB / 0.6709 GB, free: 6.996 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1702, allocations: 0 / 0.6709 GB, free: 6.996 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006669/0.1709, allocations: 0.6223 MB / 0.6715 GB, free: 6.359 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/0.171, allocations: 41.69 kB / 0.6716 GB, free: 6.312 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.171, allocations: 0 / 0.6716 GB, free: 6.312 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.171, allocations: 0 / 0.6716 GB, free: 6.312 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.1711, allocations: 4 kB / 0.6716 GB, free: 6.309 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1711, allocations: 4 kB / 0.6716 GB, free: 6.305 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.1713, allocations: 15.95 kB / 0.6716 GB, free: 6.289 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.1714, allocations: 116 kB / 0.6717 GB, free: 6.176 MB / 0.5139 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.0007344/0.1722, allocations: 0.742 MB / 0.6724 GB, free: 5.418 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.1724, allocations: 314 kB / 0.6727 GB, free: 5.109 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.1727, allocations: 337.8 kB / 0.6731 GB, free: 4.777 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1727, allocations: 0 / 0.6731 GB, free: 4.777 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1727, allocations: 0 / 0.6731 GB, free: 4.777 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1727, allocations: 4 kB / 0.6731 GB, free: 4.773 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000926/0.1736, allocations: 1.1 MB / 0.6741 GB, free: 3.629 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1737, allocations: 0 / 0.6741 GB, free: 3.629 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.1737, allocations: 7.938 kB / 0.6742 GB, free: 3.621 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1737, allocations: 3.938 kB / 0.6742 GB, free: 3.617 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.1737, allocations: 28 kB / 0.6742 GB, free: 3.59 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1737, allocations: 0 / 0.6742 GB, free: 3.59 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1737, allocations: 0 / 0.6742 GB, free: 3.59 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000754/0.1745, allocations: 0.6865 MB / 0.6749 GB, free: 2.879 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/0.1749, allocations: 355 kB / 0.6752 GB, free: 2.512 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.1751, allocations: 16.09 kB / 0.6752 GB, free: 2.496 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.1752, allocations: 11.94 kB / 0.6752 GB, free: 2.484 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.1753, allocations: 4 kB / 0.6752 GB, free: 2.48 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.935e-05/0.1754, allocations: 112 kB / 0.6753 GB, free: 2.371 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002427/0.1778, allocations: 2.207 MB / 0.6775 GB, free: 188 kB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1778, allocations: 0 / 0.6775 GB, free: 188 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003623/0.1782, allocations: 104 kB / 0.6776 GB, free: 84 kB / 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.0002031/0.1784, allocations: 143.6 kB / 0.6777 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.1787, allocations: 207.3 kB / 0.6779 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1787, allocations: 0 / 0.6779 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.1789, allocations: 147.4 kB / 0.6781 GB, free: 15.56 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.1796, allocations: 228.6 kB / 0.6783 GB, free: 15.34 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0045/0.1841, allocations: 4.229 MB / 0.6824 GB, free: 11.07 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/0.1853, allocations: 1.702 MB / 0.6841 GB, free: 9.332 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.001105/0.1864, allocations: 0.5923 MB / 0.6846 GB, free: 8.734 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.1866, allocations: 131.4 kB / 0.6848 GB, free: 8.605 MB / 0.5295 GB Notification: Performance of SimCode: time 1.983e-06/0.1866, allocations: 0 / 0.6848 GB, free: 8.605 MB / 0.5295 GB Notification: Performance of Templates: time 0.02406/0.2106, allocations: 10.68 MB / 0.6952 GB, free: 13.88 MB / 0.5452 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches