Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 114.4 kB / 17.78 MB, free: 5.246 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.001393/0.001393, allocations: 183 kB / 18.71 MB, free: 4.32 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.467/1.467, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2188/0.2188, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3619, allocations: 60.82 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003021/0.3649, allocations: 1.718 MB / 0.5207 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3664, allocations: 0.8774 MB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.885e-05/0.3665, allocations: 1.219 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.367, allocations: 50.53 kB / 0.5216 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.3672, allocations: 61.03 kB / 0.5216 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.3676, allocations: 108.2 kB / 0.5217 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.3678, allocations: 104.7 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3679, allocations: 7.562 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.368, allocations: 41.45 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.982e-05/0.3681, allocations: 31.14 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.3682, allocations: 7.906 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.3683, allocations: 45.52 kB / 0.522 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.3684, allocations: 27.84 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.3684, allocations: 38.36 kB / 0.522 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.3687, allocations: 132.7 kB / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3687, allocations: 1.469 kB / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3687, allocations: 0.6562 kB / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3687, allocations: 0 / 0.5221 GB, free: 1.516 MB / 382.1 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.0005109/0.3692, allocations: 438 kB / 0.5226 GB, free: 1.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3693, allocations: 9.375 kB / 0.5226 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.3693, allocations: 15.33 kB / 0.5226 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.3695, allocations: 222 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3696, allocations: 2.219 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.3696, allocations: 6.312 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3697, allocations: 54.64 kB / 0.5229 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3697, allocations: 1.5 kB / 0.5229 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.3698, allocations: 0 / 0.5229 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3698, allocations: 1.406 kB / 0.5229 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.3699, allocations: 21.77 kB / 0.5229 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.3702, allocations: 301.4 kB / 0.5232 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.3704, allocations: 56.47 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.3704, allocations: 19.62 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.3705, allocations: 1.891 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.3706, allocations: 77.45 kB / 0.5233 GB, free: 408 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.3706, allocations: 1.156 kB / 0.5233 GB, free: 408 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005325/0.3712, allocations: 178.7 kB / 0.5235 GB, free: 316 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.3712, allocations: 56.81 kB / 0.5235 GB, free: 248 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.3715, allocations: 257.9 kB / 0.5238 GB, free: 100 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.3715, allocations: 31.05 kB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.3716, allocations: 114.8 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.3716, allocations: 29.5 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.3717, allocations: 22.66 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3718, allocations: 333.1 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.695e-05/0.3719, allocations: 16.52 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.787e-05/0.372, allocations: 40.55 kB / 0.5244 GB, free: 15.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3721, allocations: 69.52 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3721, allocations: 4 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001866/0.3723, allocations: 98.8 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3723, allocations: 4.969 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3723, allocations: 2.234 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3724, allocations: 1.688 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.739e-05/0.3725, allocations: 19.03 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3725, allocations: 0.6094 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.3725, allocations: 12.62 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.3725, allocations: 3.25 kB / 0.5246 GB, free: 15.44 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001259/0.3727, allocations: 135.3 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.3727, allocations: 18.61 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.3728, allocations: 20.09 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3728, allocations: 1.312 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3728, allocations: 0 / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3728, allocations: 5.891 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.3733, allocations: 402.2 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3734, allocations: 4.031 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.3734, allocations: 8.469 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.3734, allocations: 5.719 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.3734, allocations: 6.688 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3734, allocations: 1.875 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3734, allocations: 0 / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.3737, allocations: 202.3 kB / 0.5253 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.3738, allocations: 93.48 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.3739, allocations: 11.12 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.3739, allocations: 1.891 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.374, allocations: 14.25 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.374, allocations: 4.469 kB / 0.5255 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.3742, allocations: 203.7 kB / 0.5256 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3742, allocations: 0 / 0.5256 GB, free: 14.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.3745, allocations: 23.73 kB / 0.5257 GB, free: 14.52 MB / 398.1 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 (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.001071/0.3756, allocations: 474.5 kB / 0.5261 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.3758, allocations: 51.92 kB / 0.5262 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3758, allocations: 0 / 0.5262 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.3759, allocations: 36.83 kB / 0.5262 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.3762, allocations: 34.08 kB / 0.5262 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.3768, allocations: 277 kB / 0.5265 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.3772, allocations: 0.7194 MB / 0.5272 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.591e-05/0.3772, allocations: 20.64 kB / 0.5272 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.3773, allocations: 17.33 kB / 0.5272 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3773, allocations: 3.938 kB / 0.5272 GB, free: 13.35 MB / 398.1 MB Notification: Performance of Templates: time 0.005097/0.3824, allocations: 1.747 MB / 0.529 GB, free: 12.74 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches