Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001079/0.001079, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.409/1.409, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2059/0.2059, allocations: 43.52 MB / 314.6 MB, free: 0.5273 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.003013/0.003014, allocations: 70.17 kB / 383.4 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1404, allocations: 57.79 MB / 441.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002869/0.1433, allocations: 1.843 MB / 443 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1446, allocations: 0.8896 MB / 443.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1447, allocations: 11.94 kB / 443.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.1452, allocations: 255.4 kB / 444.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.1456, allocations: 179.4 kB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.146, allocations: 143.4 kB / 444.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.1463, allocations: 239.4 kB / 444.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1464, allocations: 25.83 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1465, allocations: 123.5 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.1467, allocations: 175.5 kB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.1467, allocations: 12 kB / 445.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1468, allocations: 47.97 kB / 445.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.1469, allocations: 59.77 kB / 445.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.39e-05/0.147, allocations: 91.28 kB / 445.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.1473, allocations: 219.1 kB / 445.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1473, allocations: 0 / 445.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1473, allocations: 0 / 445.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1473, allocations: 0 / 445.5 MB, free: 2.582 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006462/0.148, allocations: 0.5525 MB / 446 MB, free: 1.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.148, allocations: 15.89 kB / 446 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.1481, allocations: 36.5 kB / 446.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1483, allocations: 280 kB / 446.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.1484, allocations: 12.3 kB / 446.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.1484, allocations: 8.125 kB / 446.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.1486, allocations: 91.36 kB / 446.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1486, allocations: 4 kB / 446.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.1487, allocations: 7.984 kB / 446.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1487, allocations: 7.938 kB / 446.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1488, allocations: 35.97 kB / 446.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.1492, allocations: 452.9 kB / 447 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.1495, allocations: 117.3 kB / 447.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.161e-05/0.1496, allocations: 41.69 kB / 447.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.1496, allocations: 7.984 kB / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/0.1499, allocations: 113 kB / 447.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.1499, allocations: 3.938 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008373/0.1508, allocations: 380.4 kB / 447.6 MB, free: 252 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.1508, allocations: 81.05 kB / 447.7 MB, free: 152 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/0.1513, allocations: 481.7 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.1513, allocations: 29.7 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1515, allocations: 164.3 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.1515, allocations: 51.38 kB / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.1516, allocations: 37.7 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1517, allocations: 346.8 kB / 448.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1518, allocations: 40 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.152, allocations: 80.55 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.1522, allocations: 119.4 kB / 449 MB, free: 14.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1522, allocations: 0 / 449 MB, free: 14.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003299/0.1525, allocations: 193 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1526, allocations: 4 kB / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1526, allocations: 0 / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1526, allocations: 8.062 kB / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1528, allocations: 27.98 kB / 449.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1528, allocations: 7.938 kB / 449.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.1529, allocations: 11.98 kB / 449.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.1529, allocations: 4 kB / 449.3 MB, free: 14.52 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001688/0.1531, allocations: 173.7 kB / 449.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.1531, allocations: 27.62 kB / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.537e-05/0.1532, allocations: 39.12 kB / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1532, allocations: 0 / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/0.1532, allocations: 11.92 kB / 449.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1532, allocations: 0 / 449.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000771/0.154, allocations: 0.6359 MB / 450.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.154, allocations: 0 / 450.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.1541, allocations: 16 kB / 450.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.1541, allocations: 4.062 kB / 450.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.1541, allocations: 11.92 kB / 450.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1541, allocations: 0 / 450.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1542, allocations: 4 kB / 450.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.1546, allocations: 371.4 kB / 450.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.272e-05/0.1547, allocations: 104.7 kB / 450.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.1547, allocations: 4 kB / 450.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.1548, allocations: 11.98 kB / 450.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.1549, allocations: 11.92 kB / 450.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.1549, allocations: 12 kB / 450.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003466/0.1553, allocations: 359.1 kB / 451 MB, free: 12.63 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1553, allocations: 0 / 451 MB, free: 12.63 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003495/0.1557, allocations: 39.94 kB / 451.1 MB, free: 12.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001191/0.1569, allocations: 474.4 kB / 451.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.1572, allocations: 123.9 kB / 451.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1572, allocations: 0 / 451.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.1573, allocations: 55.92 kB / 451.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.1579, allocations: 65.27 kB / 451.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008369/0.1588, allocations: 0.5717 MB / 452.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1591, allocations: 0.771 MB / 453.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.1592, allocations: 31.42 kB / 453.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1592, allocations: 0 / 453.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of Templates: time 0.005524/0.1647, allocations: 3.379 MB / 456.5 MB, free: 7.156 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches