Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 107.2 kB / 17.03 MB, free: 5.664 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.00246/0.002461, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2419/0.2419, allocations: 43.53 MB / 314.7 MB, free: 488 kB / 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.001747/0.001747, allocations: 75.19 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1473, allocations: 57.78 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004064/0.1514, allocations: 1.842 MB / 443.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1529, allocations: 0.8974 MB / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.1531, allocations: 0 / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004968/0.1537, allocations: 227.4 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.1542, allocations: 167.4 kB / 445.1 MB, free: 3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.1547, allocations: 155.3 kB / 445.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.1551, allocations: 223.4 kB / 445.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1552, allocations: 17.55 kB / 445.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.1554, allocations: 115.6 kB / 445.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.1556, allocations: 151.5 kB / 445.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.1556, allocations: 8 kB / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.1557, allocations: 43.98 kB / 445.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.926e-05/0.1558, allocations: 55.83 kB / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.021e-05/0.1559, allocations: 83.34 kB / 445.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.1562, allocations: 215.2 kB / 446.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1562, allocations: 0 / 446.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1562, allocations: 0 / 446.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1562, allocations: 0 / 446.1 MB, free: 1.957 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.0005798/0.1568, allocations: 0.5409 MB / 446.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1569, allocations: 11.89 kB / 446.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.1569, allocations: 24.66 kB / 446.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1573, allocations: 287.9 kB / 447 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1573, allocations: 4.375 kB / 447 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.1574, allocations: 12.12 kB / 447 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.1576, allocations: 95.36 kB / 447.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1576, allocations: 0 / 447.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1576, allocations: 4 kB / 447.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1576, allocations: 0 / 447.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1577, allocations: 39.91 kB / 447.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.1582, allocations: 449 kB / 447.6 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1584, allocations: 117.3 kB / 447.7 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.493e-05/0.1585, allocations: 45.62 kB / 447.7 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1585, allocations: 4 kB / 447.7 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.1588, allocations: 116.9 kB / 447.9 MB, free: 36 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1588, allocations: 0 / 447.9 MB, free: 36 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009822/0.1597, allocations: 364.5 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.1598, allocations: 89.03 kB / 448.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.1603, allocations: 424.5 kB / 448.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1603, allocations: 33.64 kB / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.1604, allocations: 160.3 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.1605, allocations: 51.28 kB / 449 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.1606, allocations: 33.72 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1607, allocations: 342.8 kB / 449.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.842e-05/0.1608, allocations: 39.94 kB / 449.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.161, allocations: 72.61 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.1612, allocations: 127.7 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1612, allocations: 0 / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003149/0.1615, allocations: 181.3 kB / 449.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1615, allocations: 5.25 kB / 449.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1616, allocations: 64 / 449.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1616, allocations: 11.94 kB / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.1617, allocations: 27.98 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1618, allocations: 7.938 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.1618, allocations: 11.98 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.1619, allocations: 4 kB / 449.8 MB, free: 14 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.0001477/0.162, allocations: 169.7 kB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.1621, allocations: 27.62 kB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.802e-05/0.1622, allocations: 34.62 kB / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1622, allocations: 7.984 kB / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.1622, allocations: 7.938 kB / 450 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1622, allocations: 0 / 450 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007765/0.163, allocations: 0.6241 MB / 450.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.163, allocations: 0 / 450.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.279e-05/0.1631, allocations: 19.98 kB / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1631, allocations: 4.062 kB / 450.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1631, allocations: 8 kB / 450.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1631, allocations: 0 / 450.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1631, allocations: 7.938 kB / 450.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.1636, allocations: 372 kB / 451.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.1636, allocations: 100.8 kB / 451.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.1637, allocations: 3.984 kB / 451.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.1638, allocations: 8 kB / 451.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.1639, allocations: 11.98 kB / 451.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.1639, allocations: 19.92 kB / 451.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003063/0.1642, allocations: 315 kB / 451.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.854e-06/0.1642, allocations: 0 / 451.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003416/0.1646, allocations: 39.94 kB / 451.6 MB, free: 12.12 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.001219/0.1658, allocations: 471 kB / 452 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003305/0.1662, allocations: 116 kB / 452.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1662, allocations: 0 / 452.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.1663, allocations: 59.86 kB / 452.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.1669, allocations: 70.95 kB / 452.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.168, allocations: 0.4905 MB / 452.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.1684, allocations: 0.7632 MB / 453.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.535e-05/0.1685, allocations: 26.56 kB / 453.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.1686, allocations: 35.42 kB / 453.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1686, allocations: 0 / 453.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of Templates: time 0.006643/0.1752, allocations: 2.723 MB / 456.3 MB, free: 7.43 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches