Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009347/0.0009349, allocations: 96.64 kB / 17 MB, free: 6.477 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.00145/0.00145, allocations: 185.7 kB / 17.89 MB, free: 5.922 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.49/1.49, allocations: 223.3 MB / 241.9 MB, free: 320 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.2048/0.2048, allocations: 44.24 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004475, allocations: 8 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1399, allocations: 61.93 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002116/0.1421, allocations: 1.39 MB / 473 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1435, allocations: 0.7919 MB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1436, allocations: 4 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.1439, allocations: 39.83 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.1442, allocations: 43.83 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.1445, allocations: 91.83 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.1447, allocations: 83.7 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1448, allocations: 8.219 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.368e-05/0.1449, allocations: 39.78 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.137e-05/0.145, allocations: 27.8 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.145, allocations: 4 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1452, allocations: 35.98 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/0.1452, allocations: 11.92 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.1453, allocations: 37.64 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.1454, allocations: 88.08 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1454, allocations: 4 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1454, allocations: 0 / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1455, allocations: 3.938 kB / 474.3 MB, free: 10.95 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.0005207/0.146, allocations: 391 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.146, allocations: 8.031 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.1461, allocations: 11.91 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1463, allocations: 202.8 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1463, allocations: 4 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1464, allocations: 4 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1465, allocations: 57.62 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1465, allocations: 0 / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1466, allocations: 0 / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1466, allocations: 0 / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.644e-05/0.1467, allocations: 19.98 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.1471, allocations: 296.7 kB / 475.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1473, allocations: 50.69 kB / 475.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/0.1474, allocations: 28.84 kB / 475.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1474, allocations: 0 / 475.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.1476, allocations: 63.39 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.1476, allocations: 3.938 kB / 475.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005538/0.1481, allocations: 169.3 kB / 475.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1482, allocations: 51.41 kB / 475.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1483, allocations: 176.4 kB / 475.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1484, allocations: 25.7 kB / 475.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.1484, allocations: 104 kB / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.1485, allocations: 27.73 kB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.1485, allocations: 0 / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1486, allocations: 330.8 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.1487, allocations: 16 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.1488, allocations: 33.7 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.039e-05/0.1488, allocations: 27.98 kB / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1488, allocations: 0 / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.149, allocations: 101.4 kB / 476.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1491, allocations: 8 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.1491, allocations: 0 / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1491, allocations: 0 / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.1492, allocations: 15.98 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1492, allocations: 4 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.1492, allocations: 192 / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1493, allocations: 8 kB / 476.5 MB, free: 8.527 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.0001483/0.1494, allocations: 138.2 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.1494, allocations: 12.27 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.567e-05/0.1495, allocations: 16.66 kB / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1495, allocations: 4 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1495, allocations: 0 / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1495, allocations: 4 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.15, allocations: 395.4 kB / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.15, allocations: 3.984 kB / 477.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.1501, allocations: 12.03 kB / 477.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1501, allocations: 0 / 477.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1501, allocations: 4 kB / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1501, allocations: 0 / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1501, allocations: 0 / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.1504, allocations: 212.1 kB / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/0.1505, allocations: 89 kB / 477.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.1505, allocations: 8 kB / 477.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.1506, allocations: 4 kB / 477.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.1506, allocations: 7.984 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.1506, allocations: 0 / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1508, allocations: 138.8 kB / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1508, allocations: 0 / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003139/0.1511, allocations: 27.98 kB / 477.5 MB, free: 7.367 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.00126/0.1524, allocations: 468.1 kB / 478 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1526, allocations: 55.92 kB / 478.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.1526, allocations: 4 kB / 478.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.193e-05/0.1527, allocations: 28.05 kB / 478.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1531, allocations: 39.86 kB / 478.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.1537, allocations: 229.8 kB / 478.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.1541, allocations: 0.7004 MB / 479.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.773e-05/0.1542, allocations: 17.19 kB / 479.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.1542, allocations: 19.42 kB / 479.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1542, allocations: 0 / 479.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of Templates: time 0.00512/0.1594, allocations: 1.585 MB / 480.7 MB, free: 4.371 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches