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/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 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 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 107.7 kB / 16.27 MB, free: 5.992 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.001597/0.001598, allocations: 188.7 kB / 17.2 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2481/0.2481, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001963, allocations: 69.34 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1487, allocations: 57.79 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.0043/0.1531, allocations: 1.837 MB / 442.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1546, allocations: 0.8896 MB / 443.3 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.1547, allocations: 8 kB / 443.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.1552, allocations: 163.5 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.1555, allocations: 131.5 kB / 443.6 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1558, allocations: 147.5 kB / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.156, allocations: 215.4 kB / 443.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1562, allocations: 29.75 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1563, allocations: 95.67 kB / 444 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.1565, allocations: 123.5 kB / 444.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.1565, allocations: 8 kB / 444.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1566, allocations: 51.97 kB / 444.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.714e-05/0.1567, allocations: 39.84 kB / 444.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.392e-05/0.1568, allocations: 75.47 kB / 444.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.157, allocations: 195.2 kB / 444.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.157, allocations: 0 / 444.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1571, allocations: 4 kB / 444.5 MB, free: 2.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1571, allocations: 0 / 444.5 MB, free: 2.91 MB / 318.1 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.0006818/0.1578, allocations: 0.5137 MB / 445 MB, free: 2.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1578, allocations: 11.89 kB / 445 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.1579, allocations: 24.66 kB / 445.1 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.1582, allocations: 267.5 kB / 445.3 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1582, allocations: 384 / 445.3 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.1582, allocations: 16.11 kB / 445.3 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.1584, allocations: 99.36 kB / 445.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1585, allocations: 0 / 445.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.1585, allocations: 0 / 445.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1585, allocations: 4 kB / 445.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1586, allocations: 39.91 kB / 445.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.1591, allocations: 444.9 kB / 445.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.1594, allocations: 117.2 kB / 446 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.532e-05/0.1595, allocations: 53.69 kB / 446.1 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.1595, allocations: 4 kB / 446.1 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.1598, allocations: 109 kB / 446.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.1598, allocations: 0 / 446.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.000823/0.1606, allocations: 364.1 kB / 446.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.1607, allocations: 92.98 kB / 446.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.1609, allocations: 351 kB / 447 MB, free: 212 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.161, allocations: 33.7 kB / 447 MB, free: 172 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.161, allocations: 140.4 kB / 447.2 MB, free: 28 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.1611, allocations: 43.53 kB / 447.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.1612, allocations: 37.7 kB / 447.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1614, allocations: 334.8 kB / 447.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1615, allocations: 47.77 kB / 447.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.1616, allocations: 72.61 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.1618, allocations: 111.4 kB / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1618, allocations: 0 / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003269/0.1622, allocations: 181.3 kB / 448 MB, free: 15.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1622, allocations: 4 kB / 448 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1622, allocations: 4 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1622, allocations: 0 / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1624, allocations: 39.92 kB / 448 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.1624, allocations: 7.922 kB / 448 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.1625, allocations: 4 kB / 448 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1625, allocations: 12 kB / 448 MB, free: 15.1 MB / 334.1 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.0001662/0.1627, allocations: 161.7 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.1627, allocations: 23.72 kB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.887e-05/0.1628, allocations: 29.73 kB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1628, allocations: 4 kB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.1629, allocations: 3.938 kB / 448.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1629, allocations: 0 / 448.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008334/0.1637, allocations: 0.6212 MB / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1637, allocations: 0 / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.944e-05/0.1638, allocations: 23.98 kB / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1638, allocations: 0 / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1638, allocations: 4 kB / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.1638, allocations: 11.94 kB / 448.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1638, allocations: 0 / 448.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.1643, allocations: 364.2 kB / 449.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/0.1644, allocations: 92.83 kB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.1644, allocations: 11.98 kB / 449.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1646, allocations: 4 kB / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.1646, allocations: 19.92 kB / 449.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.1647, allocations: 11.98 kB / 449.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003006/0.165, allocations: 261.9 kB / 449.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.165, allocations: 0 / 449.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003409/0.1653, allocations: 35.98 kB / 449.7 MB, free: 13.32 MB / 334.1 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.001197/0.1665, allocations: 477.8 kB / 450.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.1668, allocations: 119.8 kB / 450.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1668, allocations: 0 / 450.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.167, allocations: 63.89 kB / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.1676, allocations: 66.92 kB / 450.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000836/0.1684, allocations: 434.5 kB / 450.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.169, allocations: 0.7515 MB / 451.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.805e-05/0.1691, allocations: 30.56 kB / 451.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.1691, allocations: 31.42 kB / 451.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1692, allocations: 0 / 451.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of Templates: time 0.007109/0.1763, allocations: 2.696 MB / 454.3 MB, free: 8.707 MB / 334.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches