Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 109.5 kB / 17.78 MB, free: 5.289 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.001234/0.001234, allocations: 188.8 kB / 18.71 MB, free: 4.371 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.42/1.42, 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.234/0.234, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.84 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4843, allocations: 60.83 MB / 0.519 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00349/0.4878, allocations: 1.9 MB / 0.5209 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.4895, allocations: 0.9824 MB / 0.5218 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.4896, allocations: 5.844 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004994/0.4901, allocations: 155.3 kB / 0.522 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.4906, allocations: 132.3 kB / 0.5221 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.4912, allocations: 187.7 kB / 0.5223 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.4915, allocations: 229.8 kB / 0.5225 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.4917, allocations: 23.03 kB / 0.5225 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.4919, allocations: 106 kB / 0.5226 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.4921, allocations: 134.5 kB / 0.5227 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.4922, allocations: 10 kB / 0.5228 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.4923, allocations: 60.92 kB / 0.5228 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.4924, allocations: 51.19 kB / 0.5229 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.756e-05/0.4925, allocations: 80.42 kB / 0.5229 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.4929, allocations: 215 kB / 0.5231 GB, free: 1.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4929, allocations: 1.531 kB / 0.5231 GB, free: 1.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4929, allocations: 0 / 0.5231 GB, free: 1.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.4929, allocations: 0 / 0.5231 GB, free: 1.094 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006537/0.4936, allocations: 0.5284 MB / 0.5237 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4936, allocations: 10.31 kB / 0.5237 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.4937, allocations: 24.7 kB / 0.5237 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.494, allocations: 263.7 kB / 0.5239 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.494, allocations: 6.812 kB / 0.5239 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.4941, allocations: 14.86 kB / 0.524 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.4943, allocations: 120.9 kB / 0.5241 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.4943, allocations: 2.234 kB / 0.5241 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.4944, allocations: 5.922 kB / 0.5241 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4944, allocations: 5.734 kB / 0.5241 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.4945, allocations: 45.64 kB / 0.5241 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.4951, allocations: 459.5 kB / 0.5246 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.4955, allocations: 124.3 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.4956, allocations: 45.45 kB / 0.5247 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.4957, allocations: 2.984 kB / 0.5247 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.4959, allocations: 119.7 kB / 0.5249 GB, free: 15.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.4959, allocations: 0 / 0.5249 GB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001347/0.4973, allocations: 498.6 kB / 0.5253 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.4974, allocations: 84.52 kB / 0.5254 GB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.4978, allocations: 349.4 kB / 0.5257 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4978, allocations: 32.45 kB / 0.5258 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/0.4979, allocations: 142.8 kB / 0.5259 GB, free: 15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/0.498, allocations: 68.38 kB / 0.526 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.498, allocations: 41.55 kB / 0.526 GB, free: 14.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.4982, allocations: 339.2 kB / 0.5263 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4983, allocations: 55.88 kB / 0.5264 GB, free: 14.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.4985, allocations: 101.8 kB / 0.5265 GB, free: 14.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.4988, allocations: 163.2 kB / 0.5266 GB, free: 14.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.4988, allocations: 0 / 0.5266 GB, free: 14.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004235/0.4992, allocations: 234.8 kB / 0.5269 GB, free: 14.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4993, allocations: 9.531 kB / 0.5269 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4993, allocations: 1.344 kB / 0.5269 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4993, allocations: 1.375 kB / 0.5269 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.4994, allocations: 44.34 kB / 0.5269 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.4995, allocations: 7.266 kB / 0.5269 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.782e-05/0.4995, allocations: 9.203 kB / 0.5269 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.4996, allocations: 14.56 kB / 0.5269 GB, free: 14.28 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001716/0.4997, allocations: 157.4 kB / 0.5271 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.4998, allocations: 29 kB / 0.5271 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.756e-05/0.4999, allocations: 35.72 kB / 0.5272 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4999, allocations: 2.656 kB / 0.5272 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4999, allocations: 0.7969 kB / 0.5272 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.4999, allocations: 2.031 kB / 0.5272 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.501, allocations: 0.7238 MB / 0.5279 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.501, allocations: 2.75 kB / 0.5279 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.045e-05/0.5011, allocations: 31.3 kB / 0.5279 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5012, allocations: 2.75 kB / 0.5279 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.5012, allocations: 4.125 kB / 0.5279 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.5012, allocations: 2.75 kB / 0.5279 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5012, allocations: 5.312 kB / 0.5279 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.5017, allocations: 427.5 kB / 0.5283 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.156e-05/0.5019, allocations: 96.95 kB / 0.5284 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.5019, allocations: 10.95 kB / 0.5284 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.502, allocations: 9.562 kB / 0.5284 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.5021, allocations: 20.7 kB / 0.5285 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.5022, allocations: 12.33 kB / 0.5285 GB, free: 13.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000311/0.5025, allocations: 265.9 kB / 0.5287 GB, free: 12.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5025, allocations: 0 / 0.5287 GB, free: 12.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.5029, allocations: 46.75 kB / 0.5288 GB, free: 12.88 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001392/0.5043, allocations: 0.5211 MB / 0.5293 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004053/0.5047, allocations: 159.8 kB / 0.5294 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5047, allocations: 0 / 0.5294 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.5049, allocations: 87.06 kB / 0.5295 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.5054, allocations: 61.38 kB / 0.5296 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008736/0.5063, allocations: 490.5 kB / 0.53 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.5067, allocations: 0.7641 MB / 0.5308 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.5068, allocations: 37.02 kB / 0.5308 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.5069, allocations: 25.62 kB / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5069, allocations: 0 / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Templates: time 0.007152/0.514, allocations: 3.159 MB / 0.5339 GB, free: 9.801 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches