Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001202/0.001201, allocations: 106.3 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4661/0.4661, allocations: 43.5 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 55.92 kB / 429.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1468, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00444/0.1514, allocations: 1.904 MB / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.153, allocations: 0.8781 MB / 489.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1532, allocations: 11.94 kB / 489.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.1537, allocations: 147.7 kB / 490 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.154, allocations: 127.6 kB / 490.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.1544, allocations: 135.7 kB / 490.2 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.1547, allocations: 207.4 kB / 490.4 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1548, allocations: 25.53 kB / 490.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.1549, allocations: 95.61 kB / 490.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.1551, allocations: 123.5 kB / 490.7 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.1551, allocations: 4 kB / 490.7 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1553, allocations: 35.98 kB / 490.7 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.1554, allocations: 47.83 kB / 490.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1555, allocations: 71.42 kB / 490.8 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.1557, allocations: 191.6 kB / 491 MB, free: 8.516 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1557, allocations: 4 kB / 491 MB, free: 8.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1557, allocations: 0 / 491 MB, free: 8.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1558, allocations: 0 / 491 MB, free: 8.512 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007399/0.1565, allocations: 0.5137 MB / 491.5 MB, free: 7.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1566, allocations: 12.03 kB / 491.5 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.1566, allocations: 20.66 kB / 491.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.1569, allocations: 263.6 kB / 491.8 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.157, allocations: 12.36 kB / 491.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.157, allocations: 12.12 kB / 491.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.1572, allocations: 95.36 kB / 491.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1572, allocations: 0 / 491.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1573, allocations: 3.984 kB / 491.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1573, allocations: 4 kB / 491.9 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.1574, allocations: 43.91 kB / 492 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.1579, allocations: 440.8 kB / 492.4 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.1582, allocations: 129.2 kB / 492.5 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.99e-05/0.1583, allocations: 41.7 kB / 492.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.1583, allocations: 4 kB / 492.6 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002762/0.1586, allocations: 109 kB / 492.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.1586, allocations: 0 / 492.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008574/0.1595, allocations: 356.1 kB / 493 MB, free: 6.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1595, allocations: 88.98 kB / 493.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.1599, allocations: 350.9 kB / 493.5 MB, free: 5.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1599, allocations: 33.7 kB / 493.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.16, allocations: 136.4 kB / 493.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.1601, allocations: 47.36 kB / 493.7 MB, free: 5.609 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.1601, allocations: 37.7 kB / 493.7 MB, free: 5.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1603, allocations: 334.8 kB / 494 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.637e-05/0.1604, allocations: 47.98 kB / 494.1 MB, free: 5.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1605, allocations: 71.39 kB / 494.2 MB, free: 5.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.1607, allocations: 123.5 kB / 494.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1607, allocations: 4 kB / 494.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002885/0.161, allocations: 173.3 kB / 494.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.161, allocations: 4 kB / 494.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.161, allocations: 7.984 kB / 494.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1611, allocations: 0 / 494.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1612, allocations: 35.92 kB / 494.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1612, allocations: 3.938 kB / 494.5 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.1613, allocations: 8 kB / 494.5 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1613, allocations: 8.062 kB / 494.5 MB, free: 4.723 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001366/0.1615, allocations: 157.7 kB / 494.7 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.1615, allocations: 23.72 kB / 494.7 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.857e-05/0.1616, allocations: 33.73 kB / 494.7 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1616, allocations: 7.938 kB / 494.7 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1616, allocations: 4.688 kB / 494.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1616, allocations: 0 / 494.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006879/0.1623, allocations: 0.6163 MB / 495.3 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1623, allocations: 0 / 495.3 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.1624, allocations: 23.98 kB / 495.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1624, allocations: 0 / 495.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1624, allocations: 4 kB / 495.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1624, allocations: 4 kB / 495.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1624, allocations: 0 / 495.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007882/0.1632, allocations: 0.99 MB / 496.4 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.1633, allocations: 96.83 kB / 496.5 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.1633, allocations: 4 kB / 496.5 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1635, allocations: 11.98 kB / 496.5 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.1635, allocations: 27.84 kB / 496.5 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.1636, allocations: 8 kB / 496.5 MB, free: 2.559 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002358/0.1638, allocations: 261.9 kB / 496.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1638, allocations: 4 kB / 496.8 MB, free: 2.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004243/0.1642, allocations: 36 kB / 496.8 MB, free: 2.262 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001017/0.1653, allocations: 488.5 kB / 497.3 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002889/0.1656, allocations: 119.8 kB / 497.4 MB, free: 1.719 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1656, allocations: 0 / 497.4 MB, free: 1.719 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.1657, allocations: 60.11 kB / 497.5 MB, free: 1.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.1662, allocations: 57.31 kB / 497.5 MB, free: 1.605 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008442/0.1671, allocations: 0.6239 MB / 498.1 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.1674, allocations: 0.7479 MB / 498.9 MB, free: 168 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.402e-05/0.1675, allocations: 38.55 kB / 498.9 MB, free: 128 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.1676, allocations: 23.44 kB / 499 MB, free: 104 kB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1676, allocations: 0 / 499 MB, free: 104 kB / 378.7 MB Notification: Performance of Templates: time 0.005649/0.1733, allocations: 2.64 MB / 0.4898 GB, free: 13.47 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches