Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 108.7 kB / 18.45 MB, free: 4.645 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.001246/0.001246, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.343/1.343, allocations: 222.9 MB / 243.1 MB, free: 15.1 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.2051/0.2051, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 64.14 kB / 471.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3693, allocations: 60.82 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003781/0.3731, allocations: 2.315 MB / 0.5219 GB, free: 2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.3755, allocations: 1.276 MB / 0.5231 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000384/0.3759, allocations: 3.25 kB / 0.5231 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.3766, allocations: 293.3 kB / 0.5234 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007638/0.3774, allocations: 265.4 kB / 0.5237 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3785, allocations: 377.7 kB / 0.524 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006505/0.3792, allocations: 0.512 MB / 0.5245 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.3793, allocations: 47.11 kB / 0.5246 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003049/0.3796, allocations: 234.4 kB / 0.5248 GB, free: 432 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.38, allocations: 264.8 kB / 0.5251 GB, free: 340 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/0.38, allocations: 16.47 kB / 0.5251 GB, free: 340 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.3802, allocations: 61.08 kB / 0.5251 GB, free: 324 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.3804, allocations: 106 kB / 0.5252 GB, free: 276 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.3805, allocations: 179.8 kB / 0.5254 GB, free: 144 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005085/0.381, allocations: 400.2 kB / 0.5258 GB, free: 15.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.381, allocations: 0 / 0.5258 GB, free: 15.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3811, allocations: 0 / 0.5258 GB, free: 15.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.3811, allocations: 0 / 0.5258 GB, free: 15.96 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001218/0.3823, allocations: 0.7652 MB / 0.5265 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3823, allocations: 9.625 kB / 0.5265 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.3824, allocations: 51.66 kB / 0.5266 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005787/0.383, allocations: 404.9 kB / 0.527 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.3831, allocations: 11.25 kB / 0.527 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.3831, allocations: 20.36 kB / 0.527 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.3835, allocations: 199.7 kB / 0.5272 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3836, allocations: 9.156 kB / 0.5272 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.3836, allocations: 10.64 kB / 0.5272 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3836, allocations: 2.656 kB / 0.5272 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.3839, allocations: 91.81 kB / 0.5273 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000921/0.3848, allocations: 0.8547 MB / 0.5281 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000589/0.3854, allocations: 291.9 kB / 0.5284 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.3856, allocations: 89.7 kB / 0.5285 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.3856, allocations: 17.22 kB / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/0.386, allocations: 231.7 kB / 0.5287 GB, free: 13.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.893e-06/0.386, allocations: 0 / 0.5287 GB, free: 13.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002021/0.3881, allocations: 0.9755 MB / 0.5297 GB, free: 12.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.294e-05/0.3882, allocations: 168.1 kB / 0.5299 GB, free: 12.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/0.3889, allocations: 0.6101 MB / 0.5304 GB, free: 12.35 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.389, allocations: 37.52 kB / 0.5305 GB, free: 12.31 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.3891, allocations: 222.4 kB / 0.5307 GB, free: 12.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.3893, allocations: 128.3 kB / 0.5308 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.795e-05/0.3894, allocations: 75.25 kB / 0.5309 GB, free: 11.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3895, allocations: 365.7 kB / 0.5312 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.3897, allocations: 102.4 kB / 0.5313 GB, free: 11.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.39, allocations: 184.8 kB / 0.5315 GB, free: 11.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/0.3906, allocations: 297.3 kB / 0.5318 GB, free: 11.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3906, allocations: 1 kB / 0.5318 GB, free: 11.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007183/0.3913, allocations: 396.5 kB / 0.5322 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3913, allocations: 6.125 kB / 0.5322 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.3913, allocations: 5.531 kB / 0.5322 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.3914, allocations: 12.66 kB / 0.5322 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.3917, allocations: 88.39 kB / 0.5323 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.3917, allocations: 4.344 kB / 0.5323 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.3919, allocations: 22.23 kB / 0.5323 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.3919, allocations: 16.97 kB / 0.5323 GB, free: 10.97 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002288/0.3922, allocations: 210.9 kB / 0.5325 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.782e-05/0.3923, allocations: 58.03 kB / 0.5326 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.3924, allocations: 70.55 kB / 0.5326 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3924, allocations: 5.562 kB / 0.5327 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3924, allocations: 1.281 kB / 0.5327 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.3924, allocations: 5.297 kB / 0.5327 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.3939, allocations: 1.259 MB / 0.5339 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.394, allocations: 2.344 kB / 0.5339 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.3941, allocations: 53.09 kB / 0.5339 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.3941, allocations: 3.656 kB / 0.5339 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.3942, allocations: 15.84 kB / 0.534 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.3942, allocations: 7.781 kB / 0.534 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/0.3942, allocations: 6.203 kB / 0.534 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008751/0.3951, allocations: 0.8125 MB / 0.5348 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.3952, allocations: 118.1 kB / 0.5349 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/0.3953, allocations: 19.36 kB / 0.5349 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.3956, allocations: 16.95 kB / 0.5349 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.3957, allocations: 40.56 kB / 0.535 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.3957, allocations: 19.27 kB / 0.535 GB, free: 8.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004849/0.3962, allocations: 457.5 kB / 0.5354 GB, free: 8.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.964e-06/0.3962, allocations: 0 / 0.5354 GB, free: 8.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005326/0.3967, allocations: 88.05 kB / 0.5355 GB, free: 8.594 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001075/0.3978, allocations: 490.1 kB / 0.536 GB, free: 8.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006227/0.3985, allocations: 297.4 kB / 0.5362 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3985, allocations: 0 / 0.5362 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.3988, allocations: 150.7 kB / 0.5364 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.3998, allocations: 151.1 kB / 0.5365 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.4012, allocations: 0.8899 MB / 0.5374 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.4017, allocations: 0.8541 MB / 0.5382 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.4019, allocations: 53.11 kB / 0.5383 GB, free: 6.715 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4019, allocations: 0 / 0.5383 GB, free: 6.715 MB / 398.1 MB Notification: Performance of Templates: time 0.009559/0.4114, allocations: 6.358 MB / 0.5445 GB, free: 2.176 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches