Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0009851/0.0009858, allocations: 89.97 kB / 270.9 MB, free: 8.359 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.4566/0.4566, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005983/0.0005984, allocations: 15.98 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1474, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002227/0.1497, allocations: 1.401 MB / 491.6 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1509, allocations: 0.7305 MB / 492.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.151, allocations: 3.938 kB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.1513, allocations: 43.88 kB / 492.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.1515, allocations: 47.83 kB / 492.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.1518, allocations: 71.84 kB / 492.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1519, allocations: 83.7 kB / 492.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.152, allocations: 16.2 kB / 492.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.1521, allocations: 35.8 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.141e-05/0.1522, allocations: 27.84 kB / 492.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1522, allocations: 4 kB / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.103e-05/0.1523, allocations: 39.98 kB / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.1524, allocations: 23.86 kB / 492.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.813e-05/0.1524, allocations: 37.64 kB / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1526, allocations: 84.08 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1526, allocations: 8 kB / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1526, allocations: 0 / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1526, allocations: 0 / 492.9 MB, free: 8.531 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005787/0.1532, allocations: 394.8 kB / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1533, allocations: 16.02 kB / 493.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.1533, allocations: 11.91 kB / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1536, allocations: 211.5 kB / 493.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1536, allocations: 0 / 493.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.1536, allocations: 0 / 493.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1538, allocations: 57.61 kB / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1538, allocations: 7.906 kB / 493.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1538, allocations: 0 / 493.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1538, allocations: 3.953 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.849e-05/0.1539, allocations: 23.98 kB / 493.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.1543, allocations: 281 kB / 493.9 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1545, allocations: 58.61 kB / 493.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.1546, allocations: 20.84 kB / 494 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1546, allocations: 0 / 494 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.1548, allocations: 79.34 kB / 494 MB, free: 7.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.532e-06/0.1548, allocations: 0 / 494 MB, free: 7.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005475/0.1554, allocations: 177.2 kB / 494.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.1554, allocations: 51.41 kB / 494.3 MB, free: 6.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.1556, allocations: 196.7 kB / 494.4 MB, free: 6.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1557, allocations: 29.7 kB / 494.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.1557, allocations: 104.1 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.1558, allocations: 31.64 kB / 494.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.1558, allocations: 3.938 kB / 494.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1559, allocations: 326.8 kB / 494.9 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.156, allocations: 15.98 kB / 494.9 MB, free: 6.262 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.1561, allocations: 37.7 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.036e-05/0.1561, allocations: 24 kB / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1561, allocations: 0 / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001762/0.1563, allocations: 109.4 kB / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1564, allocations: 4 kB / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.1564, allocations: 4 kB / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1564, allocations: 0 / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-05/0.1565, allocations: 12 kB / 495.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1565, allocations: 0 / 495.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.1566, allocations: 11.98 kB / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1566, allocations: 4 kB / 495.2 MB, free: 6.047 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 (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.0001063/0.1567, allocations: 125.8 kB / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.1567, allocations: 19.86 kB / 495.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.1568, allocations: 17.39 kB / 495.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1568, allocations: 3.984 kB / 495.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1568, allocations: 0 / 495.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1568, allocations: 3.938 kB / 495.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.1573, allocations: 399.2 kB / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1573, allocations: 4.031 kB / 495.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.463e-05/0.1573, allocations: 11.98 kB / 495.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1573, allocations: 0 / 495.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1573, allocations: 4 kB / 495.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1573, allocations: 0 / 495.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1574, allocations: 0 / 495.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.1576, allocations: 196.3 kB / 495.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/0.1577, allocations: 100.9 kB / 496 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1577, allocations: 4 kB / 496 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1578, allocations: 4 kB / 496 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.1578, allocations: 11.97 kB / 496 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.1579, allocations: 4.375 kB / 496 MB, free: 5.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.158, allocations: 152.9 kB / 496.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.158, allocations: 0 / 496.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.1582, allocations: 32.09 kB / 496.2 MB, free: 4.867 MB / 378.7 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.001006/0.1593, allocations: 468 kB / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.1595, allocations: 67.89 kB / 496.7 MB, free: 4.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1595, allocations: 0 / 496.7 MB, free: 4.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.789e-05/0.1595, allocations: 28.05 kB / 496.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.1599, allocations: 23.98 kB / 496.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.1604, allocations: 280.1 kB / 497.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.1607, allocations: 0.7121 MB / 497.8 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.1607, allocations: 19.42 kB / 497.8 MB, free: 3.273 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1607, allocations: 0 / 497.8 MB, free: 3.273 MB / 378.7 MB Notification: Performance of Templates: time 0.004036/0.1648, allocations: 1.886 MB / 499.7 MB, free: 1.391 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches