Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007905/0.0007906, allocations: 93.03 kB / 17.35 MB, free: 6.344 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.000774/0.000774, allocations: 171.5 kB / 18.25 MB, free: 5.504 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.375/1.375, allocations: 223.3 MB / 242.3 MB, free: 216 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.2379/0.2379, allocations: 44.26 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.000439, allocations: 11.98 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1377, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002011/0.1397, allocations: 1.374 MB / 473.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1411, allocations: 0.8226 MB / 474.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.1412, allocations: 7.938 kB / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.1415, allocations: 51.86 kB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.1417, allocations: 59.81 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.1419, allocations: 91.77 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1421, allocations: 95.69 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.1422, allocations: 7.984 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.102e-05/0.1423, allocations: 39.84 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.417e-05/0.1424, allocations: 43.77 kB / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1424, allocations: 4 kB / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.107e-05/0.1425, allocations: 31.98 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/0.1426, allocations: 19.91 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.1426, allocations: 57.45 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.1428, allocations: 95.92 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1428, allocations: 4 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1428, allocations: 0 / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.1428, allocations: 0 / 475.1 MB, free: 10.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005571/0.1434, allocations: 387.1 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1435, allocations: 16.03 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.1435, allocations: 8.844 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1437, allocations: 200.2 kB / 475.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1438, allocations: 4.375 kB / 475.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.1438, allocations: 8.062 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1439, allocations: 45.67 kB / 475.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1439, allocations: 0 / 475.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.144, allocations: 4 kB / 475.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.144, allocations: 0 / 475.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.592e-05/0.144, allocations: 15.98 kB / 475.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.1443, allocations: 189.5 kB / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1445, allocations: 50.56 kB / 476 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.1445, allocations: 24.78 kB / 476 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.1446, allocations: 4 kB / 476 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.1448, allocations: 67.39 kB / 476.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.1448, allocations: 3.938 kB / 476.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003257/0.1451, allocations: 89.77 kB / 476.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1452, allocations: 55.34 kB / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.1454, allocations: 194.1 kB / 476.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1454, allocations: 25.7 kB / 476.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.1455, allocations: 100.1 kB / 476.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.1455, allocations: 15.81 kB / 476.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.1456, allocations: 13.72 kB / 476.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1457, allocations: 326.8 kB / 476.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.852e-05/0.1458, allocations: 15.98 kB / 476.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/0.1459, allocations: 25.7 kB / 476.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.146, allocations: 53.77 kB / 477 MB, free: 8.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.146, allocations: 0 / 477 MB, free: 8.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001827/0.1462, allocations: 85.47 kB / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1462, allocations: 7.984 kB / 477.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1462, allocations: 4 kB / 477.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.1462, allocations: 0 / 477.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.1463, allocations: 8 kB / 477.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.1463, allocations: 0 / 477.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.1464, allocations: 7.938 kB / 477.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1464, allocations: 4 kB / 477.1 MB, free: 8.281 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 ($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 (7): * Single equations (assignments): 7 * 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.0001256/0.1466, allocations: 133.8 kB / 477.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.1466, allocations: 7.906 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.1466, allocations: 16.3 kB / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1466, allocations: 0 / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1467, allocations: 0 / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1467, allocations: 3.938 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.1468, allocations: 189.5 kB / 477.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1468, allocations: 0 / 477.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.1469, allocations: 4 kB / 477.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1469, allocations: 0 / 477.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.1469, allocations: 4 kB / 477.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.1469, allocations: 11.98 kB / 477.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1469, allocations: 0 / 477.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.1471, allocations: 104.9 kB / 477.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.1471, allocations: 96.94 kB / 477.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1472, allocations: 4.062 kB / 477.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.587e-05/0.1472, allocations: 4 kB / 477.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.1473, allocations: 7.984 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.1473, allocations: 8 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1474, allocations: 135.2 kB / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1474, allocations: 0 / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.1476, allocations: 19.98 kB / 477.8 MB, free: 7.445 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001027/0.1486, allocations: 401.1 kB / 478.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.1488, allocations: 43.92 kB / 478.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1488, allocations: 64 / 478.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.1489, allocations: 23.98 kB / 478.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.1492, allocations: 24.17 kB / 478.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.1496, allocations: 216.9 kB / 478.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.15, allocations: 0.7122 MB / 479.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.785e-05/0.15, allocations: 12.55 kB / 479.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.15, allocations: 15.42 kB / 479.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1501, allocations: 0 / 479.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of Templates: time 0.004246/0.1543, allocations: 1.407 MB / 480.7 MB, free: 4.715 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches