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.001105/0.001105, allocations: 111.7 kB / 17.78 MB, free: 5.281 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.001216/0.001216, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2058/0.2058, allocations: 44.2 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 59.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3785, allocations: 60.82 MB / 0.519 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003115/0.3817, allocations: 2.313 MB / 0.5212 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.3837, allocations: 1.281 MB / 0.5225 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.3839, allocations: 7.219 kB / 0.5225 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.3844, allocations: 281.8 kB / 0.5228 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.3849, allocations: 273.5 kB / 0.523 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.3856, allocations: 376.3 kB / 0.5234 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.3862, allocations: 0.5091 MB / 0.5239 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3863, allocations: 47.44 kB / 0.5239 GB, free: 500 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.3866, allocations: 235.6 kB / 0.5241 GB, free: 404 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.3868, allocations: 255.1 kB / 0.5244 GB, free: 320 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.953e-05/0.3869, allocations: 17.28 kB / 0.5244 GB, free: 320 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.3871, allocations: 64.2 kB / 0.5245 GB, free: 300 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.3872, allocations: 104.9 kB / 0.5246 GB, free: 252 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.3873, allocations: 179.3 kB / 0.5247 GB, free: 120 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004779/0.3878, allocations: 398.6 kB / 0.5251 GB, free: 15.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3878, allocations: 0 / 0.5251 GB, free: 15.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3878, allocations: 4.703 kB / 0.5251 GB, free: 15.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3879, allocations: 6.094 kB / 0.5251 GB, free: 15.94 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.001175/0.389, allocations: 0.7724 MB / 0.5259 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3891, allocations: 14.8 kB / 0.5259 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.3892, allocations: 54.81 kB / 0.5259 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005902/0.3898, allocations: 417.8 kB / 0.5263 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.3898, allocations: 9.875 kB / 0.5264 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.3899, allocations: 17.75 kB / 0.5264 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.3903, allocations: 199.8 kB / 0.5266 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3903, allocations: 5.312 kB / 0.5266 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.3903, allocations: 5.375 kB / 0.5266 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3903, allocations: 4.125 kB / 0.5266 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.3906, allocations: 100.1 kB / 0.5267 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008498/0.3914, allocations: 0.8533 MB / 0.5275 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.392, allocations: 288.1 kB / 0.5278 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.3922, allocations: 94.94 kB / 0.5279 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.3923, allocations: 8.25 kB / 0.5279 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003898/0.3927, allocations: 231.5 kB / 0.5281 GB, free: 13.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.3927, allocations: 0 / 0.5281 GB, free: 13.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.001955/0.3946, allocations: 1.002 MB / 0.5291 GB, free: 12.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/0.3947, allocations: 159.7 kB / 0.5292 GB, free: 12.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006564/0.3954, allocations: 0.6104 MB / 0.5298 GB, free: 12.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.3954, allocations: 42.2 kB / 0.5299 GB, free: 12.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.3956, allocations: 225.9 kB / 0.5301 GB, free: 12.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.208e-05/0.3957, allocations: 129.4 kB / 0.5302 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.3958, allocations: 66.73 kB / 0.5303 GB, free: 11.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3959, allocations: 369.7 kB / 0.5306 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.3962, allocations: 99.14 kB / 0.5307 GB, free: 11.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.3964, allocations: 187.1 kB / 0.5309 GB, free: 11.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.3969, allocations: 298.5 kB / 0.5312 GB, free: 11.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3969, allocations: 0 / 0.5312 GB, free: 11.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006796/0.3976, allocations: 413.8 kB / 0.5316 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3977, allocations: 5.75 kB / 0.5316 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3977, allocations: 5.875 kB / 0.5316 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3977, allocations: 8.75 kB / 0.5316 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.398, allocations: 84.55 kB / 0.5317 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.398, allocations: 3.938 kB / 0.5317 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.3982, allocations: 21.39 kB / 0.5317 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.3982, allocations: 17.59 kB / 0.5317 GB, free: 10.89 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.0002045/0.3984, allocations: 214.9 kB / 0.5319 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.011e-05/0.3985, allocations: 62.47 kB / 0.532 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.3987, allocations: 65.56 kB / 0.532 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3987, allocations: 9.438 kB / 0.5321 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.3987, allocations: 1.375 kB / 0.5321 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3987, allocations: 5.578 kB / 0.5321 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.4001, allocations: 1.256 MB / 0.5333 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4002, allocations: 2.406 kB / 0.5333 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.4003, allocations: 49.08 kB / 0.5333 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4003, allocations: 3.562 kB / 0.5333 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.4003, allocations: 26.67 kB / 0.5334 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.57e-05/0.4004, allocations: 7.438 kB / 0.5334 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4004, allocations: 0 / 0.5334 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008297/0.4012, allocations: 0.8131 MB / 0.5342 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.163e-05/0.4013, allocations: 122.8 kB / 0.5343 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.4014, allocations: 18.97 kB / 0.5343 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.4017, allocations: 17.27 kB / 0.5343 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/0.4018, allocations: 44.28 kB / 0.5344 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.4018, allocations: 24.14 kB / 0.5344 GB, free: 8.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004915/0.4023, allocations: 457.3 kB / 0.5348 GB, free: 8.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.4023, allocations: 0 / 0.5348 GB, free: 8.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005445/0.4029, allocations: 87.39 kB / 0.5349 GB, free: 8.496 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.001047/0.404, allocations: 474.8 kB / 0.5354 GB, free: 8.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006116/0.4046, allocations: 297 kB / 0.5356 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4046, allocations: 1.094 kB / 0.5356 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.4049, allocations: 154.3 kB / 0.5358 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.4059, allocations: 159 kB / 0.5359 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.4073, allocations: 0.8616 MB / 0.5368 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.4078, allocations: 0.8543 MB / 0.5376 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.408, allocations: 88.33 kB / 0.5377 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.4082, allocations: 50.98 kB / 0.5377 GB, free: 6.598 MB / 398.1 MB Notification: Performance of SimCode: time 2.024e-06/0.4082, allocations: 0 / 0.5377 GB, free: 6.598 MB / 398.1 MB Notification: Performance of Templates: time 0.01049/0.4187, allocations: 5.707 MB / 0.5433 GB, free: 2.719 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/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