Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 99.39 kB / 15.98 MB, free: 6.34 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.001718/0.001718, allocations: 198.2 kB / 16.91 MB, free: 6.188 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.889/1.889, allocations: 205.1 MB / 222.8 MB, free: 12.43 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.2519/0.2519, allocations: 43.51 MB / 313.6 MB, free: 0.6992 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.001475/0.001475, allocations: 68.73 kB / 382.2 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1462, allocations: 57.8 MB / 440 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003347/0.1496, allocations: 1.75 MB / 441.8 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1509, allocations: 0.7889 MB / 442.6 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.151, allocations: 4 kB / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.1514, allocations: 39.83 kB / 442.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.1516, allocations: 51.83 kB / 442.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.1518, allocations: 75.84 kB / 442.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.152, allocations: 99.69 kB / 442.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1521, allocations: 4.516 kB / 442.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.1522, allocations: 43.78 kB / 442.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.517e-05/0.1523, allocations: 35.8 kB / 442.9 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1523, allocations: 4 kB / 442.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.272e-05/0.1524, allocations: 39.98 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.1525, allocations: 31.84 kB / 443 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.1526, allocations: 35.73 kB / 443 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.1527, allocations: 115.6 kB / 443.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1528, allocations: 0 / 443.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1528, allocations: 0 / 443.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.423e-06/0.1528, allocations: 0 / 443.1 MB, free: 4.215 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005307/0.1533, allocations: 418.9 kB / 443.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1534, allocations: 11.89 kB / 443.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.1534, allocations: 8.844 kB / 443.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.1536, allocations: 220.6 kB / 443.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1536, allocations: 8.375 kB / 443.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1537, allocations: 4.125 kB / 443.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1538, allocations: 53.67 kB / 443.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1538, allocations: 0 / 443.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1538, allocations: 4 kB / 443.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1539, allocations: 0 / 443.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.1539, allocations: 19.98 kB / 443.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.1543, allocations: 284.9 kB / 444.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1544, allocations: 62.61 kB / 444.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.616e-05/0.1545, allocations: 16.86 kB / 444.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1545, allocations: 4 kB / 444.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.1547, allocations: 67.39 kB / 444.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1547, allocations: 0 / 444.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005112/0.1552, allocations: 173.1 kB / 444.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.1553, allocations: 51.41 kB / 444.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1554, allocations: 201 kB / 444.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.1554, allocations: 25.7 kB / 444.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.1555, allocations: 112 kB / 444.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.1555, allocations: 23.73 kB / 444.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.1556, allocations: 25.66 kB / 444.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.163e-05/0.1556, allocations: 326.8 kB / 445.2 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.1557, allocations: 19.98 kB / 445.2 MB, free: 1.902 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.394e-05/0.1558, allocations: 38.08 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.012e-05/0.1558, allocations: 61.89 kB / 445.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1559, allocations: 0 / 445.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001448/0.156, allocations: 117.3 kB / 445.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.156, allocations: 4 kB / 445.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.156, allocations: 0 / 445.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1561, allocations: 0 / 445.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.1561, allocations: 19.98 kB / 445.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1562, allocations: 3.938 kB / 445.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.221e-05/0.1562, allocations: 11.97 kB / 445.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1562, allocations: 4 kB / 445.5 MB, free: 1.629 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.011e-05/0.1563, allocations: 133.7 kB / 445.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.1563, allocations: 11.81 kB / 445.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.1564, allocations: 13.41 kB / 445.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1564, allocations: 4 kB / 445.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1564, allocations: 0 / 445.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1564, allocations: 7.922 kB / 445.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.1567, allocations: 395.3 kB / 446 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1567, allocations: 0 / 446 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.1568, allocations: 8 kB / 446 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1568, allocations: 0 / 446 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1568, allocations: 11.94 kB / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1568, allocations: 0 / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1568, allocations: 0 / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.157, allocations: 204.2 kB / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.157, allocations: 88.92 kB / 446.3 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1571, allocations: 7.938 kB / 446.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.36e-05/0.1571, allocations: 4 kB / 446.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.1572, allocations: 7.984 kB / 446.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.1572, allocations: 0 / 446.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.791e-05/0.1573, allocations: 156.9 kB / 446.5 MB, free: 500 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1573, allocations: 0 / 446.5 MB, free: 500 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1576, allocations: 28 kB / 446.5 MB, free: 472 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009425/0.1585, allocations: 475 kB / 447 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.1587, allocations: 63.91 kB / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1587, allocations: 0 / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.558e-05/0.1588, allocations: 31.92 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.1592, allocations: 31.98 kB / 447.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.1597, allocations: 259.4 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1601, allocations: 0.7002 MB / 448.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.435e-05/0.1602, allocations: 12.88 kB / 448.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.1602, allocations: 19.44 kB / 448.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1602, allocations: 4 kB / 448.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of Templates: time 0.005508/0.1657, allocations: 1.673 MB / 449.8 MB, free: 13.23 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches