Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008935/0.008935, allocations: 100.3 kB / 15.87 MB, free: 6.309 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.001958/0.001958, allocations: 197.6 kB / 16.79 MB, free: 6.238 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.881/1.881, allocations: 205.1 MB / 222.6 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4275/0.4275, allocations: 43.5 MB / 313.5 MB, free: 8.266 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.001299/0.001299, allocations: 71.12 kB / 382 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1619, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003242/0.1652, allocations: 1.842 MB / 441.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1666, allocations: 0.8626 MB / 442.5 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.1667, allocations: 3.938 kB / 442.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.1672, allocations: 307.4 kB / 442.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.1676, allocations: 203.5 kB / 443 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.1679, allocations: 127.7 kB / 443.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.1681, allocations: 239.3 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/0.1682, allocations: 17.53 kB / 443.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1683, allocations: 111.6 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.1686, allocations: 191.5 kB / 443.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.1686, allocations: 4 kB / 443.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-05/0.1687, allocations: 47.92 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.1688, allocations: 139.6 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1689, allocations: 146.8 kB / 444 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.1693, allocations: 347 kB / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1693, allocations: 0 / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1693, allocations: 0 / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1693, allocations: 7.875 kB / 444.4 MB, free: 10.01 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008241/0.1701, allocations: 0.7307 MB / 445.1 MB, free: 9.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.1702, allocations: 8.031 kB / 445.1 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.1703, allocations: 48.38 kB / 445.2 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.1708, allocations: 451.8 kB / 445.6 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1708, allocations: 384 / 445.6 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1708, allocations: 12.12 kB / 445.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.171, allocations: 83.3 kB / 445.7 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-06/0.171, allocations: 0 / 445.7 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.171, allocations: 4 kB / 445.7 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.171, allocations: 4 kB / 445.7 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1711, allocations: 31.97 kB / 445.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.1715, allocations: 370.4 kB / 446.1 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.1718, allocations: 105.2 kB / 446.2 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.867e-05/0.1719, allocations: 45.64 kB / 446.3 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.1719, allocations: 4 kB / 446.3 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.1721, allocations: 109 kB / 446.4 MB, free: 7.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1721, allocations: 0 / 446.4 MB, free: 7.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004264/0.1726, allocations: 200.9 kB / 446.6 MB, free: 7.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.1726, allocations: 85.11 kB / 446.6 MB, free: 7.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.1737, allocations: 1.03 MB / 447.7 MB, free: 6.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1737, allocations: 29.7 kB / 447.7 MB, free: 6.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.1739, allocations: 236 kB / 447.9 MB, free: 6.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.1739, allocations: 27.64 kB / 448 MB, free: 6.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.174, allocations: 29.7 kB / 448 MB, free: 6.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1741, allocations: 374.8 kB / 448.4 MB, free: 5.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/0.1742, allocations: 27.98 kB / 448.4 MB, free: 5.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-05/0.1743, allocations: 67.28 kB / 448.4 MB, free: 5.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.1745, allocations: 83.92 kB / 448.5 MB, free: 5.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.1745, allocations: 8 kB / 448.5 MB, free: 5.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002882/0.1748, allocations: 172.8 kB / 448.7 MB, free: 5.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1748, allocations: 4 kB / 448.7 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1749, allocations: 0 / 448.7 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.1749, allocations: 4 kB / 448.7 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.175, allocations: 23.98 kB / 448.7 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.175, allocations: 4 kB / 448.7 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.897e-05/0.1751, allocations: 15.94 kB / 448.8 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1751, allocations: 7.938 kB / 448.8 MB, free: 5.336 MB / 382.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002008/0.1753, allocations: 233.5 kB / 449 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.1754, allocations: 47.34 kB / 449 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.498e-05/0.1754, allocations: 60 kB / 449.1 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1755, allocations: 0 / 449.1 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1755, allocations: 4 kB / 449.1 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1755, allocations: 0 / 449.1 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.1757, allocations: 341.4 kB / 449.4 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1758, allocations: 4 kB / 449.4 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.1758, allocations: 4 kB / 449.4 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1758, allocations: 4 kB / 449.4 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1758, allocations: 7.984 kB / 449.5 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1758, allocations: 0 / 449.5 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1758, allocations: 7.938 kB / 449.5 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.1762, allocations: 193.2 kB / 449.6 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.1763, allocations: 144.4 kB / 449.8 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.1763, allocations: 3.938 kB / 449.8 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.1764, allocations: 16.11 kB / 449.8 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.1765, allocations: 7.984 kB / 449.8 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1765, allocations: 4 kB / 449.8 MB, free: 4.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007318/0.1772, allocations: 0.7682 MB / 450.6 MB, free: 3.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1772, allocations: 0 / 450.6 MB, free: 3.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1775, allocations: 43.98 kB / 450.6 MB, free: 3.367 MB / 382.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0008788/0.1784, allocations: 418.5 kB / 451 MB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1786, allocations: 79.91 kB / 451.1 MB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.1786, allocations: 0 / 451.1 MB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1787, allocations: 44.28 kB / 451.2 MB, free: 2.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1791, allocations: 77.77 kB / 451.2 MB, free: 2.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1802, allocations: 0.9545 MB / 452.2 MB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.1807, allocations: 0.8468 MB / 453 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.1808, allocations: 54.95 kB / 453.1 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.1809, allocations: 27.44 kB / 453.1 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1809, allocations: 0 / 453.1 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of Templates: time 0.2497/0.4306, allocations: 3.559 MB / 456.7 MB, free: 48.89 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches