Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009608/0.0009608, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 226.6 MB / 243.1 MB, free: 12.55 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007909/0.000791, allocations: 103.9 kB / 295.1 MB, free: 4.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1869/0.1869, allocations: 44.83 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002501, allocations: 8 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.09351, allocations: 62.96 MB / 0.5153 GB, free: 5.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.001674/0.09522, allocations: 1.427 MB / 0.5167 GB, free: 3.672 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.09646, allocations: 0.9324 MB / 0.5176 GB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.09659, allocations: 7.938 kB / 0.5176 GB, free: 2.727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.09689, allocations: 47.88 kB / 0.5177 GB, free: 2.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.09716, allocations: 83.59 kB / 0.5178 GB, free: 2.598 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.09745, allocations: 95.83 kB / 0.5179 GB, free: 2.504 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.09759, allocations: 87.69 kB / 0.5179 GB, free: 2.418 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.026e-05/0.09768, allocations: 11.98 kB / 0.518 GB, free: 2.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.686e-05/0.09776, allocations: 35.8 kB / 0.518 GB, free: 2.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.09783, allocations: 39.83 kB / 0.518 GB, free: 2.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.09786, allocations: 4 kB / 0.518 GB, free: 2.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.349e-05/0.09795, allocations: 35.88 kB / 0.5181 GB, free: 2.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.098, allocations: 23.91 kB / 0.5181 GB, free: 2.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.09804, allocations: 45.64 kB / 0.5181 GB, free: 2.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.09818, allocations: 92.08 kB / 0.5182 GB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.09819, allocations: 0 / 0.5182 GB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.0982, allocations: 0 / 0.5182 GB, free: 2.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.09821, allocations: 4 kB / 0.5182 GB, free: 2.125 MB / 346.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.0004235/0.09864, allocations: 410.9 kB / 0.5186 GB, free: 1.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.09868, allocations: 8.031 kB / 0.5186 GB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.09872, allocations: 15.81 kB / 0.5186 GB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.09892, allocations: 211.7 kB / 0.5188 GB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.09894, allocations: 0 / 0.5188 GB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.09896, allocations: 11.88 kB / 0.5189 GB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.09909, allocations: 53.67 kB / 0.5189 GB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.09911, allocations: 0 / 0.5189 GB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.09913, allocations: 3.984 kB / 0.5189 GB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.09914, allocations: 4 kB / 0.5189 GB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.677e-05/0.09921, allocations: 23.98 kB / 0.5189 GB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.09951, allocations: 292.8 kB / 0.5192 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.09966, allocations: 62.61 kB / 0.5193 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.09971, allocations: 20.84 kB / 0.5193 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.09973, allocations: 4 kB / 0.5193 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.09989, allocations: 71.39 kB / 0.5194 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.0999, allocations: 0 / 0.5194 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005122/0.1004, allocations: 177.1 kB / 0.5195 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.1005, allocations: 51.41 kB / 0.5196 GB, free: 0.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.1006, allocations: 234.2 kB / 0.5198 GB, free: 312 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1006, allocations: 37.7 kB / 0.5198 GB, free: 268 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.1007, allocations: 104.1 kB / 0.5199 GB, free: 160 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.1007, allocations: 27.64 kB / 0.52 GB, free: 132 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.1007, allocations: 0 / 0.52 GB, free: 132 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1008, allocations: 326.8 kB / 0.5203 GB, free: 15.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.032e-05/0.1009, allocations: 19.94 kB / 0.5203 GB, free: 15.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.637e-05/0.101, allocations: 37.64 kB / 0.5203 GB, free: 15.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.015e-05/0.1011, allocations: 35.98 kB / 0.5204 GB, free: 15.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1011, allocations: 0 / 0.5204 GB, free: 15.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001827/0.1013, allocations: 97.44 kB / 0.5205 GB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1013, allocations: 4 kB / 0.5205 GB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1013, allocations: 4 kB / 0.5205 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1013, allocations: 0 / 0.5205 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.1014, allocations: 15.98 kB / 0.5205 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1014, allocations: 0 / 0.5205 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.1015, allocations: 8 kB / 0.5205 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1015, allocations: 11.98 kB / 0.5205 GB, free: 15.56 MB / 362.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.0001066/0.1016, allocations: 132.6 kB / 0.5206 GB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.1016, allocations: 7.906 kB / 0.5206 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.1017, allocations: 21.39 kB / 0.5207 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1017, allocations: 0 / 0.5207 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1017, allocations: 7.938 kB / 0.5207 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1017, allocations: 3.938 kB / 0.5207 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.1022, allocations: 403.4 kB / 0.5211 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1022, allocations: 0 / 0.5211 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.1022, allocations: 11.94 kB / 0.5211 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1022, allocations: 0 / 0.5211 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1023, allocations: 8 kB / 0.5211 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1023, allocations: 80 / 0.5211 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1023, allocations: 7.938 kB / 0.5211 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.1025, allocations: 204.2 kB / 0.5213 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.1026, allocations: 93 kB / 0.5214 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1026, allocations: 4 kB / 0.5214 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.1027, allocations: 384 / 0.5214 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1027, allocations: 19.88 kB / 0.5214 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.1027, allocations: 8 kB / 0.5214 GB, free: 14.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001407/0.1029, allocations: 176.3 kB / 0.5216 GB, free: 14.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1029, allocations: 0 / 0.5216 GB, free: 14.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.1031, allocations: 28 kB / 0.5216 GB, free: 14.34 MB / 362.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.0009436/0.1041, allocations: 463.2 kB / 0.522 GB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.1043, allocations: 59.92 kB / 0.5221 GB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1043, allocations: 0 / 0.5221 GB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.881e-05/0.1044, allocations: 27.98 kB / 0.5221 GB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.1047, allocations: 25.59 kB / 0.5221 GB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.1052, allocations: 316.5 kB / 0.5224 GB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1055, allocations: 0.7121 MB / 0.5231 GB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.1055, allocations: 15.44 kB / 0.5232 GB, free: 12.84 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1055, allocations: 0 / 0.5232 GB, free: 12.84 MB / 362.7 MB Notification: Performance of Templates: time 0.003792/0.1093, allocations: 2.006 MB / 0.5251 GB, free: 10.84 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches