Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,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.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,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.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 98.03 kB / 17 MB, free: 6.418 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.001335/0.001335, allocations: 188.6 kB / 17.89 MB, free: 5.945 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.462/1.462, allocations: 223.3 MB / 241.9 MB, free: 14.49 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.2149/0.2149, allocations: 44.25 MB / 337.3 MB, free: 2.512 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 12.64 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1403, allocations: 61.93 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00293/0.1433, allocations: 1.46 MB / 473.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.1458, allocations: 1.46 MB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1459, allocations: 0 / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.1463, allocations: 47.83 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.1466, allocations: 67.67 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.147, allocations: 151.4 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.1473, allocations: 159.5 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.477e-05/0.1473, allocations: 9.562 kB / 475 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1475, allocations: 75.62 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1477, allocations: 59.69 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.1477, allocations: 4 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.1479, allocations: 51.98 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.148, allocations: 31.84 kB / 475.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.387e-05/0.148, allocations: 41.64 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.1484, allocations: 124 kB / 475.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1484, allocations: 0 / 475.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1484, allocations: 0 / 475.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1484, allocations: 4 kB / 475.3 MB, free: 9.887 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.0008137/0.1492, allocations: 450.6 kB / 475.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.1493, allocations: 12.03 kB / 475.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.1493, allocations: 15.81 kB / 475.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.1497, allocations: 230.7 kB / 476 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.1497, allocations: 0 / 476 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.1498, allocations: 8 kB / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.15, allocations: 109 kB / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1501, allocations: 0 / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.1501, allocations: 0 / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1501, allocations: 0 / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.1502, allocations: 31.97 kB / 476.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.1505, allocations: 214.5 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.1508, allocations: 113.1 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.263e-05/0.1509, allocations: 37.7 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.151, allocations: 11.98 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/0.1513, allocations: 113 kB / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1513, allocations: 0 / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004817/0.1518, allocations: 161.4 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.1519, allocations: 128.5 kB / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.1522, allocations: 215.8 kB / 477.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.1523, allocations: 29.7 kB / 477.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/0.1524, allocations: 108.1 kB / 477.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.1524, allocations: 27.7 kB / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.1524, allocations: 4 kB / 477.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.1526, allocations: 326.8 kB / 477.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.1527, allocations: 27.97 kB / 477.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1528, allocations: 73.14 kB / 477.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.48e-05/0.1529, allocations: 36.42 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.153, allocations: 0 / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002724/0.1532, allocations: 137.3 kB / 477.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.1533, allocations: 12.05 kB / 477.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1533, allocations: 0 / 477.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1533, allocations: 4 kB / 477.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1534, allocations: 23.92 kB / 477.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1534, allocations: 4 kB / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.643e-05/0.1535, allocations: 15.92 kB / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.1535, allocations: 4 kB / 478 MB, free: 6.965 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 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001405/0.1537, allocations: 134.3 kB / 478.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.1537, allocations: 19.81 kB / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.1538, allocations: 20.94 kB / 478.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.1538, allocations: 4 kB / 478.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1538, allocations: 0 / 478.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1538, allocations: 0 / 478.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.1541, allocations: 221.5 kB / 478.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1541, allocations: 0 / 478.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.1541, allocations: 11.94 kB / 478.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1541, allocations: 0 / 478.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.1542, allocations: 8 kB / 478.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1542, allocations: 7.891 kB / 478.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1542, allocations: 4 kB / 478.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1545, allocations: 165.7 kB / 478.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.1546, allocations: 100.8 kB / 478.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.1546, allocations: 4 kB / 478.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.1547, allocations: 8 kB / 478.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.1547, allocations: 15.94 kB / 478.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.1548, allocations: 8.125 kB / 478.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.1549, allocations: 156.2 kB / 478.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1549, allocations: 4 kB / 478.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1552, allocations: 36 kB / 478.9 MB, free: 5.953 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 (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.00119/0.1564, allocations: 458.3 kB / 479.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.1567, allocations: 83.91 kB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1567, allocations: 0 / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1568, allocations: 39.92 kB / 479.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1572, allocations: 47.95 kB / 479.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.1579, allocations: 275.2 kB / 479.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.1583, allocations: 0.7204 MB / 480.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.432e-05/0.1584, allocations: 25.53 kB / 480.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.1585, allocations: 35.36 kB / 480.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1585, allocations: 4 kB / 480.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of Templates: time 0.006465/0.165, allocations: 2.452 MB / 483 MB, free: 1.977 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches