Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001126/0.001126, allocations: 183 kB / 18.71 MB, free: 4.34 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.43/1.43, 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.2085/0.2085, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3944, allocations: 60.82 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002708/0.3971, allocations: 1.712 MB / 0.5207 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3983, allocations: 0.8715 MB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/0.3984, allocations: 0 / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.3988, allocations: 83.83 kB / 0.5216 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.399, allocations: 74.03 kB / 0.5217 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.3993, allocations: 105.1 kB / 0.5218 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.3994, allocations: 112 kB / 0.5219 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.3995, allocations: 12.34 kB / 0.5219 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.632e-05/0.3996, allocations: 50.56 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.3998, allocations: 57.89 kB / 0.522 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3998, allocations: 5.031 kB / 0.522 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.664e-05/0.3999, allocations: 49.27 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.378e-05/0.3999, allocations: 21.25 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.4, allocations: 37.81 kB / 0.5221 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.4002, allocations: 122 kB / 0.5222 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4002, allocations: 4 kB / 0.5222 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.4002, allocations: 1.125 kB / 0.5222 GB, free: 1.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.4002, allocations: 4 kB / 0.5222 GB, free: 1.512 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.0004486/0.4007, allocations: 418.1 kB / 0.5226 GB, free: 1.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.4007, allocations: 10.7 kB / 0.5226 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.4008, allocations: 13.81 kB / 0.5226 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.401, allocations: 210.6 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.401, allocations: 3.734 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.401, allocations: 9.344 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.4012, allocations: 58.34 kB / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4012, allocations: 1.156 kB / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4012, allocations: 0 / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4012, allocations: 1.797 kB / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.667e-05/0.4013, allocations: 21.47 kB / 0.5229 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.4016, allocations: 284.8 kB / 0.5232 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.4018, allocations: 69.5 kB / 0.5233 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.4018, allocations: 19.36 kB / 0.5233 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.4019, allocations: 0.6562 kB / 0.5233 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.402, allocations: 66.27 kB / 0.5233 GB, free: 432 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.402, allocations: 0 / 0.5233 GB, free: 432 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005176/0.4025, allocations: 169.7 kB / 0.5235 GB, free: 348 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.4026, allocations: 56.41 kB / 0.5236 GB, free: 280 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.4028, allocations: 215.5 kB / 0.5238 GB, free: 140 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.4028, allocations: 29.7 kB / 0.5238 GB, free: 104 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.4029, allocations: 106.6 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.4029, allocations: 26.11 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.403, allocations: 24.42 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4031, allocations: 327.6 kB / 0.5243 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.356e-05/0.4032, allocations: 26.17 kB / 0.5243 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.4032, allocations: 38.45 kB / 0.5243 GB, free: 15.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.4034, allocations: 62.72 kB / 0.5244 GB, free: 15.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4034, allocations: 0 / 0.5244 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001866/0.4036, allocations: 103.3 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.4036, allocations: 7 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4036, allocations: 3.938 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4036, allocations: 4.031 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.4037, allocations: 14.45 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4037, allocations: 2.297 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.4038, allocations: 10.25 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.4038, allocations: 2.719 kB / 0.5245 GB, free: 15.48 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.0001109/0.4039, allocations: 131.8 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.4039, allocations: 14.22 kB / 0.5247 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.404, allocations: 17.7 kB / 0.5247 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.404, allocations: 1.188 kB / 0.5247 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.404, allocations: 4 kB / 0.5247 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.404, allocations: 5.156 kB / 0.5247 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.4045, allocations: 393.1 kB / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4045, allocations: 0 / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.4045, allocations: 8.672 kB / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.4045, allocations: 1.562 kB / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.4046, allocations: 14.3 kB / 0.5251 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4046, allocations: 1.188 kB / 0.5251 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4046, allocations: 5.25 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.4048, allocations: 204.8 kB / 0.5253 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.4049, allocations: 85.61 kB / 0.5254 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.4049, allocations: 9.422 kB / 0.5254 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.405, allocations: 3.391 kB / 0.5254 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.405, allocations: 5.781 kB / 0.5254 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.4051, allocations: 7.953 kB / 0.5254 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.4052, allocations: 160.6 kB / 0.5255 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4052, allocations: 0 / 0.5255 GB, free: 14.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.4055, allocations: 26.48 kB / 0.5256 GB, free: 14.58 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.001052/0.4065, allocations: 472.5 kB / 0.526 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.4067, allocations: 71.94 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4068, allocations: 1.75 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.241e-05/0.4068, allocations: 27.52 kB / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.4072, allocations: 33.53 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.4076, allocations: 235 kB / 0.5264 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.4079, allocations: 0.7131 MB / 0.5271 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.288e-05/0.408, allocations: 13.41 kB / 0.5271 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.408, allocations: 15.78 kB / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.408, allocations: 0 / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of Templates: time 0.004491/0.4125, allocations: 1.72 MB / 0.5288 GB, free: 12.82 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches