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.001606/0.001606, allocations: 97.7 kB / 15.98 MB, free: 6.336 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.001796/0.001796, allocations: 192.2 kB / 16.9 MB, free: 6.184 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.848/1.848, allocations: 205.1 MB / 222.8 MB, free: 12.49 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.2589/0.2589, allocations: 43.52 MB / 313.6 MB, free: 0.7148 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.001557/0.001556, allocations: 71.38 kB / 382.2 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1471, allocations: 57.78 MB / 440 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003204/0.1503, allocations: 1.839 MB / 441.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.1516, allocations: 0.8708 MB / 442.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1517, allocations: 7.875 kB / 442.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.1523, allocations: 299.4 kB / 443 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.1526, allocations: 199.5 kB / 443.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.1529, allocations: 135.5 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.1532, allocations: 239.4 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.942e-05/0.1533, allocations: 9.562 kB / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.1534, allocations: 127.5 kB / 443.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.1536, allocations: 199.5 kB / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.1536, allocations: 8 kB / 443.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.74e-05/0.1537, allocations: 47.92 kB / 444 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1539, allocations: 135.6 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.154, allocations: 150.8 kB / 444.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.1543, allocations: 367 kB / 444.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1543, allocations: 0 / 444.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1543, allocations: 0 / 444.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1543, allocations: 0 / 444.6 MB, free: 2.75 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007997/0.1551, allocations: 0.7299 MB / 445.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1552, allocations: 15.89 kB / 445.4 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.847e-05/0.1552, allocations: 52.36 kB / 445.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.1557, allocations: 443.8 kB / 445.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.1558, allocations: 8.375 kB / 445.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.1558, allocations: 8.125 kB / 445.9 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.156, allocations: 87.3 kB / 445.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.156, allocations: 0 / 445.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1561, allocations: 0 / 445.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1561, allocations: 3.938 kB / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1562, allocations: 27.98 kB / 446 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.1565, allocations: 374.4 kB / 446.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.1568, allocations: 109.2 kB / 446.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/0.1569, allocations: 45.64 kB / 446.5 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1569, allocations: 0 / 446.5 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.1572, allocations: 117 kB / 446.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1572, allocations: 0 / 446.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004496/0.1577, allocations: 205.3 kB / 446.8 MB, free: 364 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1577, allocations: 81.11 kB / 446.9 MB, free: 264 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.1588, allocations: 1.03 MB / 447.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1588, allocations: 25.7 kB / 447.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.159, allocations: 232.1 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.1591, allocations: 31.62 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.1592, allocations: 29.7 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.1594, allocations: 374.8 kB / 448.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/0.1595, allocations: 28.11 kB / 448.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.991e-05/0.1596, allocations: 55.42 kB / 448.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.1598, allocations: 91.34 kB / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1598, allocations: 0 / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003069/0.1601, allocations: 176.8 kB / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1602, allocations: 4 kB / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1602, allocations: 0 / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.1602, allocations: 4 kB / 448.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1603, allocations: 19.98 kB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1604, allocations: 4 kB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/0.1605, allocations: 15.98 kB / 449 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1605, allocations: 8 kB / 449 MB, free: 14.09 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.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.0002696/0.1608, allocations: 233.6 kB / 449.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.1608, allocations: 47.34 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.437e-05/0.1609, allocations: 60 kB / 449.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.161, allocations: 0 / 449.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.161, allocations: 0 / 449.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.161, allocations: 4 kB / 449.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.1614, allocations: 341.3 kB / 449.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.1614, allocations: 12.12 kB / 449.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.1614, allocations: 7.938 kB / 449.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1614, allocations: 3.984 kB / 449.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1615, allocations: 8 kB / 449.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1615, allocations: 0 / 449.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1615, allocations: 0 / 449.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.1618, allocations: 201.2 kB / 449.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.162, allocations: 144.5 kB / 450 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.162, allocations: 7.938 kB / 450 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.1621, allocations: 7.984 kB / 450 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.1622, allocations: 7.938 kB / 450 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1622, allocations: 7.984 kB / 450.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008054/0.163, allocations: 0.7722 MB / 450.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.163, allocations: 0 / 450.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1633, allocations: 44 kB / 450.9 MB, free: 12.1 MB / 334.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.001092/0.1644, allocations: 409 kB / 451.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.1647, allocations: 79.91 kB / 451.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1647, allocations: 0 / 451.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1648, allocations: 47.86 kB / 451.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.1653, allocations: 80.11 kB / 451.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1668, allocations: 0.9528 MB / 452.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.1674, allocations: 0.8505 MB / 453.3 MB, free: 9.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.1675, allocations: 50.95 kB / 453.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.1676, allocations: 35.36 kB / 453.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1676, allocations: 0 / 453.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of Templates: time 0.008925/0.1765, allocations: 3.681 MB / 457 MB, free: 5.949 MB / 334.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