Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 98.53 kB / 16.99 MB, free: 5.941 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.0009747/0.0009748, allocations: 183.4 kB / 17.87 MB, free: 5.609 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.423/1.423, allocations: 223.2 MB / 241.8 MB, free: 376 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2156/0.2156, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 12 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1476, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002307/0.1499, allocations: 1.394 MB / 472.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1512, allocations: 0.7881 MB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.1512, allocations: 0 / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.1515, allocations: 39.77 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.1517, allocations: 47.88 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.152, allocations: 87.75 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.1521, allocations: 67.81 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1522, allocations: 8.219 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.389e-05/0.1523, allocations: 39.84 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.341e-05/0.1524, allocations: 27.84 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1524, allocations: 4 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-05/0.1525, allocations: 27.98 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.445e-05/0.1526, allocations: 19.92 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.1526, allocations: 41.64 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.1528, allocations: 88.08 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1528, allocations: 0 / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.1528, allocations: 0 / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1528, allocations: 3.938 kB / 474.1 MB, free: 11.05 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005466/0.1534, allocations: 402.9 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1534, allocations: 12.03 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.1534, allocations: 7.906 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1537, allocations: 223.2 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.1537, allocations: 4 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.1538, allocations: 0 / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1539, allocations: 57.62 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1539, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1539, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.154, allocations: 4 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.233e-05/0.154, allocations: 15.98 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.1544, allocations: 304.8 kB / 475.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1546, allocations: 50.69 kB / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1546, allocations: 0 / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.1548, allocations: 71.44 kB / 475.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1548, allocations: 4 kB / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005464/0.1554, allocations: 173.2 kB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1554, allocations: 55.34 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.1556, allocations: 222.7 kB / 475.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1557, allocations: 25.7 kB / 475.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.1558, allocations: 112.1 kB / 475.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.1558, allocations: 31.62 kB / 475.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.1558, allocations: 7.938 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1559, allocations: 326.8 kB / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-05/0.156, allocations: 19.98 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.915e-05/0.156, allocations: 37.7 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.62e-05/0.1561, allocations: 23.95 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1561, allocations: 0 / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001685/0.1563, allocations: 101.4 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1563, allocations: 8 kB / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1563, allocations: 4.031 kB / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1563, allocations: 3.984 kB / 476.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.1564, allocations: 12 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1565, allocations: 4 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1565, allocations: 0 / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.1565, allocations: 4 kB / 476.4 MB, free: 8.543 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.1566, allocations: 137.7 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.1567, allocations: 11.91 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.1567, allocations: 25.75 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1567, allocations: 0 / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1567, allocations: 0 / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1568, allocations: 4 kB / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.1572, allocations: 407.2 kB / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1572, allocations: 0 / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.1572, allocations: 8 kB / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1572, allocations: 0 / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1573, allocations: 8 kB / 477 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1573, allocations: 4.031 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1573, allocations: 0 / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.1575, allocations: 218.1 kB / 477.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.1576, allocations: 92.91 kB / 477.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.1576, allocations: 0 / 477.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.1577, allocations: 12 kB / 477.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.1577, allocations: 7.984 kB / 477.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1577, allocations: 4 kB / 477.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.1579, allocations: 172.3 kB / 477.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1579, allocations: 3.938 kB / 477.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1581, allocations: 23.95 kB / 477.5 MB, free: 7.316 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/0.1591, allocations: 465.5 kB / 478 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.1593, allocations: 63.89 kB / 478 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1593, allocations: 0 / 478 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.753e-05/0.1594, allocations: 31.92 kB / 478.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.1597, allocations: 31.95 kB / 478.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.1601, allocations: 270 kB / 478.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.1604, allocations: 0.716 MB / 479.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.686e-05/0.1605, allocations: 17.17 kB / 479.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.1605, allocations: 15.44 kB / 479.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1605, allocations: 0 / 479.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of Templates: time 0.004043/0.1646, allocations: 1.596 MB / 480.7 MB, free: 4.266 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches