Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008741/0.0008743, allocations: 95.94 kB / 17.35 MB, free: 6.367 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.00114/0.00114, allocations: 176 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2189/0.2189, allocations: 44.25 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003949, allocations: 12 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00285/0.1507, allocations: 1.499 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.1533, allocations: 1.51 MB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.209e-05/0.1534, allocations: 0 / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.1538, allocations: 59.73 kB / 475.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.1541, allocations: 63.77 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.1545, allocations: 154.2 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.1548, allocations: 167.5 kB / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.89e-05/0.1548, allocations: 17.55 kB / 475.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.155, allocations: 75.58 kB / 475.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.1552, allocations: 67.62 kB / 475.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.1552, allocations: 4 kB / 475.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.1554, allocations: 63.95 kB / 475.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.1554, allocations: 23.92 kB / 476 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.75e-05/0.1555, allocations: 93.17 kB / 476 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.1559, allocations: 159.8 kB / 476.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.1559, allocations: 4 kB / 476.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1559, allocations: 0 / 476.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1559, allocations: 4 kB / 476.2 MB, free: 9.352 MB / 350.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.0007019/0.1566, allocations: 442.8 kB / 476.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1567, allocations: 16.02 kB / 476.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.1568, allocations: 12.75 kB / 476.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.1571, allocations: 243.9 kB / 476.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.1571, allocations: 384 / 476.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.1571, allocations: 16.12 kB / 476.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.1574, allocations: 101.1 kB / 477 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1574, allocations: 0 / 477 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.1574, allocations: 3.938 kB / 477 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1575, allocations: 0 / 477 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.1576, allocations: 27.98 kB / 477.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.158, allocations: 214.5 kB / 477.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.1583, allocations: 109.2 kB / 477.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1584, allocations: 41.64 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.1585, allocations: 3.984 kB / 477.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003067/0.1588, allocations: 116.9 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1588, allocations: 0 / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004779/0.1593, allocations: 165.4 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.1594, allocations: 132.5 kB / 477.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.1597, allocations: 215.8 kB / 478 MB, free: 7.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1597, allocations: 29.7 kB / 478.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.1598, allocations: 108.1 kB / 478.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.1598, allocations: 23.7 kB / 478.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.1599, allocations: 17.72 kB / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1601, allocations: 330.8 kB / 478.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.1602, allocations: 27.98 kB / 478.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1603, allocations: 73.12 kB / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.1605, allocations: 87.36 kB / 478.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1605, allocations: 0 / 478.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002526/0.1607, allocations: 145.9 kB / 478.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1608, allocations: 4 kB / 478.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1608, allocations: 7.938 kB / 478.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1608, allocations: 0 / 478.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1609, allocations: 23.98 kB / 478.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.1609, allocations: 64 / 478.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.161, allocations: 19.84 kB / 478.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.161, allocations: 4 kB / 478.9 MB, free: 6.336 MB / 350.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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001348/0.1612, allocations: 146.2 kB / 479.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.1612, allocations: 15.81 kB / 479.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.775e-05/0.1613, allocations: 24.98 kB / 479.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1613, allocations: 0 / 479.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1613, allocations: 0 / 479.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1613, allocations: 0 / 479.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.1616, allocations: 217.5 kB / 479.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1616, allocations: 4 kB / 479.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.1616, allocations: 7.984 kB / 479.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1616, allocations: 0 / 479.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1616, allocations: 4 kB / 479.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1616, allocations: 4 kB / 479.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1617, allocations: 0 / 479.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.162, allocations: 169.6 kB / 479.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.162, allocations: 100.8 kB / 479.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.1621, allocations: 11.98 kB / 479.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.173e-05/0.1621, allocations: 4 kB / 479.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.1622, allocations: 11.98 kB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.1622, allocations: 8 kB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001577/0.1624, allocations: 156.2 kB / 479.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1624, allocations: 0 / 479.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1627, allocations: 36 kB / 479.8 MB, free: 5.332 MB / 350.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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.001164/0.1638, allocations: 468.4 kB / 480.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.1641, allocations: 75.91 kB / 480.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1641, allocations: 0 / 480.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1642, allocations: 43.92 kB / 480.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.1646, allocations: 53.55 kB / 480.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.1653, allocations: 303.5 kB / 480.7 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.1657, allocations: 0.7127 MB / 481.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1658, allocations: 33.52 kB / 481.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.1659, allocations: 23.42 kB / 481.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1659, allocations: 4 kB / 481.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of Templates: time 0.006012/0.1719, allocations: 2.516 MB / 484 MB, free: 1.262 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches