Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001606/0.001615, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001182, allocations: 93.5 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5604/0.5604, allocations: 43.57 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004736, allocations: 16 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.136, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002586/0.1387, allocations: 1.35 MB / 491.6 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1405, allocations: 0.7202 MB / 492.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.095e-05/0.1406, allocations: 0 / 492.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.141, allocations: 55.8 kB / 492.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.1413, allocations: 55.86 kB / 492.4 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.1417, allocations: 75.78 kB / 492.5 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.1419, allocations: 63.84 kB / 492.5 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.168e-05/0.142, allocations: 11.97 kB / 492.5 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1421, allocations: 39.84 kB / 492.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1422, allocations: 35.84 kB / 492.6 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1422, allocations: 4 kB / 492.6 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1424, allocations: 16 kB / 492.6 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.1424, allocations: 19.91 kB / 492.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.1425, allocations: 37.64 kB / 492.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1427, allocations: 80.05 kB / 492.8 MB, free: 8.395 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1427, allocations: 0 / 492.8 MB, free: 8.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1428, allocations: 0 / 492.8 MB, free: 8.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1428, allocations: 0 / 492.8 MB, free: 8.395 MB / 378.7 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.0006554/0.1434, allocations: 394.8 kB / 493.2 MB, free: 7.961 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1435, allocations: 12.03 kB / 493.2 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.1436, allocations: 7.906 kB / 493.2 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.1439, allocations: 202.9 kB / 493.4 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.1439, allocations: 4 kB / 493.4 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.144, allocations: 0 / 493.4 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1441, allocations: 49.61 kB / 493.4 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1442, allocations: 0 / 493.4 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1442, allocations: 8 kB / 493.4 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.986e-06/0.1442, allocations: 3.953 kB / 493.4 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1443, allocations: 15.98 kB / 493.5 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.1446, allocations: 181.6 kB / 493.6 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.1449, allocations: 50.56 kB / 493.7 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.1449, allocations: 3.938 kB / 493.7 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.1452, allocations: 67.48 kB / 493.8 MB, free: 7.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.686e-06/0.1452, allocations: 0 / 493.8 MB, free: 7.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004008/0.1456, allocations: 101.5 kB / 493.9 MB, free: 7.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.1457, allocations: 55.36 kB / 493.9 MB, free: 7.078 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.1459, allocations: 182.2 kB / 494.1 MB, free: 6.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.146, allocations: 25.7 kB / 494.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/0.1461, allocations: 162.6 kB / 494.3 MB, free: 6.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.1461, allocations: 19.8 kB / 494.3 MB, free: 6.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.1461, allocations: 0 / 494.3 MB, free: 6.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1463, allocations: 318.8 kB / 494.6 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.1464, allocations: 15.98 kB / 494.6 MB, free: 6.344 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.1465, allocations: 21.72 kB / 494.6 MB, free: 6.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.37e-05/0.1466, allocations: 16.23 kB / 494.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1466, allocations: 0 / 494.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000255/0.1469, allocations: 85.62 kB / 494.7 MB, free: 6.211 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1469, allocations: 4 kB / 494.7 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1469, allocations: 0 / 494.7 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1469, allocations: 0 / 494.7 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1471, allocations: 15.98 kB / 494.8 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1471, allocations: 0 / 494.8 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.511e-05/0.1472, allocations: 11.86 kB / 494.8 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1472, allocations: 0 / 494.8 MB, free: 6.18 MB / 378.7 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 (7): * Single equations (assignments): 7 * 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.0001413/0.1474, allocations: 129.8 kB / 494.9 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.1474, allocations: 11.89 kB / 494.9 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.429e-05/0.1475, allocations: 16.31 kB / 494.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1475, allocations: 0 / 494.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.1475, allocations: 0 / 494.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1475, allocations: 0 / 494.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.1477, allocations: 193.5 kB / 495.1 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1477, allocations: 0 / 495.1 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.1478, allocations: 4 kB / 495.1 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1478, allocations: 0 / 495.1 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1478, allocations: 0 / 495.1 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1478, allocations: 4 kB / 495.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.1478, allocations: 0 / 495.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.1482, allocations: 112.9 kB / 495.2 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.1482, allocations: 92.86 kB / 495.3 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.1483, allocations: 3.984 kB / 495.3 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.1484, allocations: 8 kB / 495.3 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.1484, allocations: 0 / 495.3 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.1484, allocations: 8 kB / 495.3 MB, free: 5.516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001759/0.1486, allocations: 144 kB / 495.5 MB, free: 5.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1487, allocations: 0 / 495.5 MB, free: 5.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003127/0.149, allocations: 20 kB / 495.5 MB, free: 5.355 MB / 378.7 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 (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.001208/0.1502, allocations: 413.2 kB / 495.9 MB, free: 4.996 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.1505, allocations: 39.97 kB / 495.9 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.1505, allocations: 0 / 495.9 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.712e-05/0.1507, allocations: 28 kB / 496 MB, free: 4.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.151, allocations: 23.94 kB / 496 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/0.1516, allocations: 238.8 kB / 496.2 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.152, allocations: 0.7043 MB / 496.9 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.152, allocations: 15.44 kB / 496.9 MB, free: 3.891 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.152, allocations: 0 / 496.9 MB, free: 3.891 MB / 378.7 MB Notification: Performance of Templates: time 0.005293/0.1573, allocations: 1.665 MB / 498.6 MB, free: 2.227 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches