Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.001328/0.001328, allocations: 184.8 kB / 18.7 MB, free: 4.359 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.437/1.437, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2236/0.2236, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4657, allocations: 60.82 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00315/0.4689, allocations: 1.711 MB / 0.5207 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.4703, allocations: 0.872 MB / 0.5215 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.4704, allocations: 1.219 kB / 0.5215 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.4707, allocations: 41.14 kB / 0.5215 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.4709, allocations: 54.72 kB / 0.5216 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.4712, allocations: 114.1 kB / 0.5217 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.4714, allocations: 95.61 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.4716, allocations: 12.47 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/0.4717, allocations: 41.53 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.632e-05/0.4718, allocations: 29.5 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.4718, allocations: 7.625 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.4719, allocations: 43.05 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.472, allocations: 22.03 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.4721, allocations: 34.11 kB / 0.522 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.4723, allocations: 115.4 kB / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4723, allocations: 4 kB / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4723, allocations: 0 / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.4723, allocations: 0 / 0.5221 GB, free: 1.551 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.0005573/0.4729, allocations: 405 kB / 0.5225 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.473, allocations: 10.58 kB / 0.5225 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.473, allocations: 13.72 kB / 0.5225 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.4732, allocations: 201.8 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.4733, allocations: 2.141 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.4733, allocations: 11 kB / 0.5227 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.4735, allocations: 58.55 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4735, allocations: 3.906 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4735, allocations: 0.8438 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4735, allocations: 5.125 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.4736, allocations: 30.5 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.4739, allocations: 285.6 kB / 0.5231 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.4741, allocations: 57.31 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.4742, allocations: 20.11 kB / 0.5231 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.4742, allocations: 0 / 0.5231 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.4743, allocations: 70.62 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4744, allocations: 0 / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005687/0.4749, allocations: 179.9 kB / 0.5234 GB, free: 380 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.475, allocations: 57.34 kB / 0.5234 GB, free: 312 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.4751, allocations: 187.5 kB / 0.5236 GB, free: 180 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.4752, allocations: 26.8 kB / 0.5236 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.4752, allocations: 98.94 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.4752, allocations: 26.28 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.4753, allocations: 22 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4754, allocations: 330.4 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.4755, allocations: 21.25 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.4756, allocations: 38.89 kB / 0.5242 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.4757, allocations: 66.77 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4757, allocations: 0 / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001832/0.4759, allocations: 96.38 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4759, allocations: 6.031 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.4759, allocations: 5.094 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.476, allocations: 1.094 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.618e-05/0.4761, allocations: 24.45 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4761, allocations: 0 / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.4761, allocations: 7.344 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.4761, allocations: 2.984 kB / 0.5244 GB, free: 15.54 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.0001061/0.4762, allocations: 124.8 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.4763, allocations: 13.19 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.4763, allocations: 19.75 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4763, allocations: 1.344 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4763, allocations: 1.312 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.4764, allocations: 4.641 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.4768, allocations: 385.6 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4768, allocations: 5.688 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.4769, allocations: 12.78 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4769, allocations: 0.5625 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.4769, allocations: 14.2 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4769, allocations: 5.094 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4769, allocations: 2.047 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.4772, allocations: 200.2 kB / 0.5251 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.4772, allocations: 84.45 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.4772, allocations: 6.594 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.4773, allocations: 2.469 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.4774, allocations: 9.641 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.4774, allocations: 8.016 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.4775, allocations: 144 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4775, allocations: 0 / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.4778, allocations: 26.7 kB / 0.5254 GB, free: 14.65 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.001098/0.4789, allocations: 471.1 kB / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.4791, allocations: 59.38 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4791, allocations: 0 / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.4792, allocations: 29.73 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.4796, allocations: 36.89 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.48, allocations: 223.5 kB / 0.5262 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.4804, allocations: 0.7053 MB / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.319e-05/0.4804, allocations: 12 kB / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.4805, allocations: 25.03 kB / 0.5269 GB, free: 13.51 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4805, allocations: 4 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.004825/0.4853, allocations: 1.702 MB / 0.5286 GB, free: 12.96 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches