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.001349/0.001349, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001629/0.001629, allocations: 189.6 kB / 18.67 MB, free: 4.375 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.362/1.362, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9656/0.9656, allocations: 119.3 MB / 411.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 66.86 kB / 0.5716 GB, free: 39.76 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.146, allocations: 80.69 MB / 0.6504 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002514/0.1485, allocations: 1.417 MB / 0.6518 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1496, allocations: 0.5691 MB / 0.6523 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.1496, allocations: 0 / 0.6523 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.15, allocations: 231.7 kB / 0.6525 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.1504, allocations: 271.5 kB / 0.6528 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1507, allocations: 79.8 kB / 0.6529 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.1512, allocations: 0.6008 MB / 0.6535 GB, free: 9.879 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.1512, allocations: 7.984 kB / 0.6535 GB, free: 9.871 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.1515, allocations: 307.5 kB / 0.6538 GB, free: 9.57 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004737/0.152, allocations: 0.5267 MB / 0.6543 GB, free: 9.043 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.663e-05/0.1521, allocations: 36 kB / 0.6543 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.1523, allocations: 111.9 kB / 0.6544 GB, free: 8.898 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.1536, allocations: 1.259 MB / 0.6556 GB, free: 7.637 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0005264/0.1541, allocations: 0.7195 MB / 0.6563 GB, free: 6.91 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.1554, allocations: 1.628 MB / 0.6579 GB, free: 5.273 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1554, allocations: 0 / 0.6579 GB, free: 5.273 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1554, allocations: 0 / 0.6579 GB, free: 5.273 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.1554, allocations: 0 / 0.6579 GB, free: 5.273 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.002714/0.1581, allocations: 2.762 MB / 0.6606 GB, free: 2.438 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1582, allocations: 12.03 kB / 0.6606 GB, free: 2.426 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000268/0.1585, allocations: 289.1 kB / 0.6609 GB, free: 2.141 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/0.1629, allocations: 3.322 MB / 0.6642 GB, free: 14.76 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.163, allocations: 384 / 0.6642 GB, free: 14.76 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.163, allocations: 8.375 kB / 0.6642 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.1632, allocations: 157.8 kB / 0.6643 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1633, allocations: 0 / 0.6643 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.1633, allocations: 11.98 kB / 0.6643 GB, free: 14.58 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1633, allocations: 0 / 0.6643 GB, free: 14.58 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.1634, allocations: 68 kB / 0.6644 GB, free: 14.52 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009852/0.1644, allocations: 1.011 MB / 0.6654 GB, free: 13.46 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.1646, allocations: 74.56 kB / 0.6655 GB, free: 13.38 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1647, allocations: 64.8 kB / 0.6655 GB, free: 13.31 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1647, allocations: 0 / 0.6655 GB, free: 13.31 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.1649, allocations: 180.9 kB / 0.6657 GB, free: 13.12 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1649, allocations: 3.938 kB / 0.6657 GB, free: 13.11 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0008516/0.1658, allocations: 0.6521 MB / 0.6663 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.1659, allocations: 85.11 kB / 0.6664 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003328/0.1692, allocations: 3.185 MB / 0.6695 GB, free: 9.18 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.1693, allocations: 37.69 kB / 0.6696 GB, free: 9.137 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.1703, allocations: 1.236 MB / 0.6708 GB, free: 7.898 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.1704, allocations: 31.64 kB / 0.6708 GB, free: 7.867 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.1705, allocations: 73.72 kB / 0.6709 GB, free: 7.789 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1706, allocations: 310 kB / 0.6712 GB, free: 7.48 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.1707, allocations: 51.92 kB / 0.6712 GB, free: 7.43 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.1708, allocations: 48 kB / 0.6713 GB, free: 7.383 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.171, allocations: 168.2 kB / 0.6714 GB, free: 7.203 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.171, allocations: 0 / 0.6714 GB, free: 7.203 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006704/0.1717, allocations: 0.6088 MB / 0.672 GB, free: 6.578 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/0.1717, allocations: 41.69 kB / 0.672 GB, free: 6.531 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1718, allocations: 0 / 0.672 GB, free: 6.531 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1718, allocations: 0 / 0.672 GB, free: 6.531 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.1719, allocations: 4 kB / 0.6721 GB, free: 6.527 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1719, allocations: 0 / 0.6721 GB, free: 6.527 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.1721, allocations: 15.98 kB / 0.6721 GB, free: 6.512 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.495e-05/0.1722, allocations: 116 kB / 0.6722 GB, free: 6.398 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.000816/0.173, allocations: 0.7381 MB / 0.6729 GB, free: 5.645 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.1733, allocations: 300.1 kB / 0.6732 GB, free: 5.348 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.1736, allocations: 333.9 kB / 0.6735 GB, free: 5.02 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1736, allocations: 4.078 kB / 0.6735 GB, free: 5.016 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1736, allocations: 7.938 kB / 0.6735 GB, free: 5.008 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1736, allocations: 0 / 0.6735 GB, free: 5.008 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000953/0.1746, allocations: 1.089 MB / 0.6746 GB, free: 3.875 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1746, allocations: 4 kB / 0.6746 GB, free: 3.871 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.1746, allocations: 7.938 kB / 0.6746 GB, free: 3.863 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1746, allocations: 0 / 0.6746 GB, free: 3.863 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/0.1747, allocations: 31.98 kB / 0.6746 GB, free: 3.832 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1747, allocations: 3.984 kB / 0.6746 GB, free: 3.828 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1747, allocations: 3.938 kB / 0.6746 GB, free: 3.824 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006655/0.1754, allocations: 0.6689 MB / 0.6753 GB, free: 3.129 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.1757, allocations: 333.2 kB / 0.6756 GB, free: 2.781 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.1758, allocations: 16 kB / 0.6756 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.176, allocations: 12 kB / 0.6756 GB, free: 2.754 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.1761, allocations: 4 kB / 0.6756 GB, free: 2.75 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.605e-05/0.1762, allocations: 112 kB / 0.6757 GB, free: 2.641 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002446/0.1786, allocations: 2.207 MB / 0.6779 GB, free: 464 kB / 0.5139 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1786, allocations: 0 / 0.6779 GB, free: 464 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003914/0.179, allocations: 112 kB / 0.678 GB, free: 352 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.0002045/0.1792, allocations: 135.6 kB / 0.6781 GB, free: 212 kB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0003854/0.1796, allocations: 215.3 kB / 0.6783 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1797, allocations: 0 / 0.6783 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.1798, allocations: 151.4 kB / 0.6785 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.1805, allocations: 227.6 kB / 0.6787 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005174/0.1857, allocations: 4.29 MB / 0.6829 GB, free: 11.27 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.187, allocations: 1.702 MB / 0.6845 GB, free: 9.535 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.1872, allocations: 135.4 kB / 0.6847 GB, free: 9.402 MB / 0.5295 GB Notification: Performance of SimCode: time 5.11e-07/0.1872, allocations: 0 / 0.6847 GB, free: 9.402 MB / 0.5295 GB Notification: Performance of Templates: time 0.08335/0.2705, allocations: 47.95 MB / 0.7315 GB, free: 9.383 MB / 0.5764 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/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