Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001031/0.001031, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.36/1.36, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2011/0.2011, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 59.91 kB / 471.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3942, allocations: 60.82 MB / 0.5197 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003695/0.3979, allocations: 2.241 MB / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.4, allocations: 1.191 MB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.4002, allocations: 6.594 kB / 0.523 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.4007, allocations: 118.8 kB / 0.5231 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004099/0.4011, allocations: 182.5 kB / 0.5233 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007658/0.4019, allocations: 318.8 kB / 0.5236 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005489/0.4024, allocations: 422.8 kB / 0.524 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.4026, allocations: 56.39 kB / 0.5241 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004047/0.403, allocations: 283.7 kB / 0.5243 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.4032, allocations: 148.3 kB / 0.5245 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.4033, allocations: 16.69 kB / 0.5245 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.4035, allocations: 70.72 kB / 0.5246 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.4036, allocations: 129 kB / 0.5247 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.4038, allocations: 182.3 kB / 0.5249 GB, free: 376 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005034/0.4043, allocations: 417.2 kB / 0.5253 GB, free: 192 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4043, allocations: 4 kB / 0.5253 GB, free: 188 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4043, allocations: 0 / 0.5253 GB, free: 188 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.4043, allocations: 1.312 kB / 0.5253 GB, free: 188 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001158/0.4055, allocations: 0.794 MB / 0.526 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4055, allocations: 10.44 kB / 0.5261 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.4056, allocations: 57.25 kB / 0.5261 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006182/0.4063, allocations: 402.6 kB / 0.5265 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.4063, allocations: 11.81 kB / 0.5265 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/0.4064, allocations: 22.78 kB / 0.5265 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.4068, allocations: 195.2 kB / 0.5267 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4068, allocations: 6.609 kB / 0.5267 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.4068, allocations: 10.38 kB / 0.5267 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4068, allocations: 8.531 kB / 0.5267 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.4071, allocations: 91.53 kB / 0.5268 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000985/0.4081, allocations: 0.7938 MB / 0.5276 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006369/0.4087, allocations: 244.3 kB / 0.5278 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.4089, allocations: 94.02 kB / 0.5279 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.409, allocations: 12.33 kB / 0.5279 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003609/0.4093, allocations: 202.2 kB / 0.5281 GB, free: 13.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.4093, allocations: 0 / 0.5281 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002432/0.4118, allocations: 1.09 MB / 0.5292 GB, free: 13.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.4119, allocations: 141.3 kB / 0.5293 GB, free: 13.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008975/0.4128, allocations: 0.7579 MB / 0.5301 GB, free: 12.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.4128, allocations: 37.14 kB / 0.5301 GB, free: 12.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.413, allocations: 232.8 kB / 0.5303 GB, free: 12.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.4132, allocations: 138.2 kB / 0.5305 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.4133, allocations: 83.25 kB / 0.5305 GB, free: 12.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4135, allocations: 376 kB / 0.5309 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.4137, allocations: 111.5 kB / 0.531 GB, free: 11.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.414, allocations: 183.1 kB / 0.5312 GB, free: 11.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.4145, allocations: 321.7 kB / 0.5315 GB, free: 11.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4146, allocations: 5.438 kB / 0.5315 GB, free: 11.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007422/0.4153, allocations: 434.9 kB / 0.5319 GB, free: 11.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4153, allocations: 5.219 kB / 0.5319 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4153, allocations: 2.906 kB / 0.5319 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.4154, allocations: 4.25 kB / 0.5319 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.4157, allocations: 92.83 kB / 0.532 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4157, allocations: 3.219 kB / 0.532 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.4158, allocations: 19.58 kB / 0.532 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.4159, allocations: 17.81 kB / 0.532 GB, free: 11.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002672/0.4162, allocations: 232.3 kB / 0.5323 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.4163, allocations: 60.91 kB / 0.5323 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.4164, allocations: 78.64 kB / 0.5324 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.4164, allocations: 5.656 kB / 0.5324 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.4164, allocations: 1.062 kB / 0.5324 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.4164, allocations: 5.875 kB / 0.5324 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.4181, allocations: 1.308 MB / 0.5337 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4182, allocations: 4.25 kB / 0.5337 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.4183, allocations: 63.56 kB / 0.5337 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.4183, allocations: 4.156 kB / 0.5337 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.4184, allocations: 17.12 kB / 0.5338 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.4184, allocations: 8.266 kB / 0.5338 GB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.4184, allocations: 7.625 kB / 0.5338 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009526/0.4193, allocations: 0.7744 MB / 0.5345 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.4195, allocations: 167.1 kB / 0.5347 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.4196, allocations: 15.97 kB / 0.5347 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.4199, allocations: 15.89 kB / 0.5347 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.42, allocations: 38.42 kB / 0.5348 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-05/0.42, allocations: 24.55 kB / 0.5348 GB, free: 9.191 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006225/0.4207, allocations: 0.5483 MB / 0.5353 GB, free: 8.922 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4207, allocations: 0 / 0.5353 GB, free: 8.922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005211/0.4212, allocations: 86.05 kB / 0.5354 GB, free: 8.902 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001261/0.4225, allocations: 0.5408 MB / 0.5359 GB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006293/0.4231, allocations: 313.1 kB / 0.5362 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4231, allocations: 5.031 kB / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.4234, allocations: 170 kB / 0.5364 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009658/0.4244, allocations: 129.2 kB / 0.5365 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.426, allocations: 1.057 MB / 0.5376 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.4265, allocations: 0.8757 MB / 0.5384 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.4266, allocations: 59.77 kB / 0.5385 GB, free: 6.891 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4266, allocations: 3.938 kB / 0.5385 GB, free: 6.887 MB / 398.1 MB Notification: Performance of Templates: time 0.01029/0.4369, allocations: 6.297 MB / 0.5446 GB, free: 2.109 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches