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.001265/0.001265, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001266/0.001266, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.418/1.418, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2319/0.2319, allocations: 44.19 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4383, allocations: 60.82 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003072/0.4414, allocations: 1.71 MB / 0.5207 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.4432, allocations: 0.8682 MB / 0.5215 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.4434, allocations: 1.156 kB / 0.5215 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004459/0.4438, allocations: 54.98 kB / 0.5216 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.4441, allocations: 59.56 kB / 0.5216 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.4446, allocations: 110.2 kB / 0.5217 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.4448, allocations: 103.5 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.4449, allocations: 15.36 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.4451, allocations: 41.98 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.4452, allocations: 30 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.4452, allocations: 3.188 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.4453, allocations: 43.25 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.797e-05/0.4454, allocations: 31.31 kB / 0.522 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.971e-05/0.4455, allocations: 42 kB / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.4459, allocations: 129.9 kB / 0.5221 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.4459, allocations: 0.9375 kB / 0.5221 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4459, allocations: 0 / 0.5221 GB, free: 1.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.4459, allocations: 4 kB / 0.5221 GB, free: 1.527 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.0007451/0.4467, allocations: 434.5 kB / 0.5226 GB, free: 1.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.4467, allocations: 9 kB / 0.5226 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.4468, allocations: 15.22 kB / 0.5226 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.4471, allocations: 222.6 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.4471, allocations: 6.594 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.4472, allocations: 6.281 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.4474, allocations: 54.7 kB / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.4474, allocations: 4 kB / 0.5229 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.4474, allocations: 1.469 kB / 0.5229 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4474, allocations: 0.5625 kB / 0.5229 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.223e-05/0.4475, allocations: 18.44 kB / 0.5229 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.448, allocations: 293.6 kB / 0.5232 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.4482, allocations: 56.19 kB / 0.5232 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.4482, allocations: 27.25 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4483, allocations: 1.125 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.4484, allocations: 67.03 kB / 0.5233 GB, free: 432 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.4484, allocations: 0 / 0.5233 GB, free: 432 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005752/0.449, allocations: 182.8 kB / 0.5235 GB, free: 336 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.4491, allocations: 57.16 kB / 0.5235 GB, free: 268 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.4493, allocations: 261.6 kB / 0.5238 GB, free: 116 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.4493, allocations: 26.77 kB / 0.5238 GB, free: 84 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.4494, allocations: 119.5 kB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.4495, allocations: 30.28 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.4496, allocations: 21.92 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4498, allocations: 336.3 kB / 0.5243 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.4498, allocations: 19.08 kB / 0.5243 GB, free: 15.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.301e-05/0.4499, allocations: 42.8 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.4501, allocations: 60.72 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4501, allocations: 1.312 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.4503, allocations: 101.9 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.4503, allocations: 8.547 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4503, allocations: 1.219 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4503, allocations: 1.188 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.931e-05/0.4504, allocations: 20.02 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4505, allocations: 0 / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.4505, allocations: 15.45 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4505, allocations: 2.75 kB / 0.5246 GB, free: 15.45 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.0001293/0.4507, allocations: 132.9 kB / 0.5247 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.4507, allocations: 16.19 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.256e-05/0.4508, allocations: 18.59 kB / 0.5247 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4508, allocations: 1.125 kB / 0.5247 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4508, allocations: 5.375 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4508, allocations: 4.5 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.4514, allocations: 403.2 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4514, allocations: 0 / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.4515, allocations: 8.328 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.4515, allocations: 5.328 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.4515, allocations: 6 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4515, allocations: 1.906 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4515, allocations: 1.719 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.4518, allocations: 209.5 kB / 0.5253 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.4519, allocations: 88.86 kB / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.4519, allocations: 7.688 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.452, allocations: 6.984 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.452, allocations: 13.38 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.452, allocations: 4.047 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.4523, allocations: 204.5 kB / 0.5256 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4523, allocations: 0 / 0.5256 GB, free: 14.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.4526, allocations: 26.11 kB / 0.5257 GB, free: 14.53 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.001224/0.4538, allocations: 466.4 kB / 0.5261 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.454, allocations: 63.64 kB / 0.5262 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.454, allocations: 0 / 0.5262 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.725e-05/0.4541, allocations: 32.91 kB / 0.5262 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.4545, allocations: 31.83 kB / 0.5262 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007054/0.4552, allocations: 275.6 kB / 0.5265 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.4557, allocations: 0.7209 MB / 0.5272 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.008e-05/0.4558, allocations: 12.14 kB / 0.5272 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.4558, allocations: 16.67 kB / 0.5272 GB, free: 13.37 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4558, allocations: 3.938 kB / 0.5272 GB, free: 13.37 MB / 398.1 MB Notification: Performance of Templates: time 0.006323/0.4622, allocations: 1.776 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