Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,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.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 109.6 kB / 18.45 MB, free: 4.645 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.001276/0.001276, allocations: 186.2 kB / 19.38 MB, free: 3.723 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.382/1.382, 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.1976/0.1976, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.89 kB / 471.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.373, allocations: 60.81 MB / 0.5197 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.00353/0.3766, allocations: 2.243 MB / 0.5219 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.3785, allocations: 1.186 MB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.3787, allocations: 8.094 kB / 0.523 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.3793, allocations: 136.1 kB / 0.5232 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005208/0.3798, allocations: 195 kB / 0.5233 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008235/0.3807, allocations: 324 kB / 0.5236 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006235/0.3813, allocations: 425.3 kB / 0.5241 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.3815, allocations: 58.02 kB / 0.5241 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.382, allocations: 320.4 kB / 0.5244 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.3823, allocations: 150.9 kB / 0.5246 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.3823, allocations: 19.97 kB / 0.5246 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.3825, allocations: 70.38 kB / 0.5246 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.3827, allocations: 153.7 kB / 0.5248 GB, free: 492 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.3829, allocations: 194.8 kB / 0.525 GB, free: 344 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.3834, allocations: 457.6 kB / 0.5254 GB, free: 144 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3834, allocations: 0 / 0.5254 GB, free: 144 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3834, allocations: 1.375 kB / 0.5254 GB, free: 144 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3834, allocations: 0 / 0.5254 GB, free: 144 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.001205/0.3846, allocations: 0.8715 MB / 0.5263 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3847, allocations: 9.625 kB / 0.5263 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.3848, allocations: 70.59 kB / 0.5263 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.3854, allocations: 427.4 kB / 0.5267 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.3854, allocations: 15.27 kB / 0.5268 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.3855, allocations: 23.98 kB / 0.5268 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.3859, allocations: 198.4 kB / 0.527 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.3859, allocations: 1.844 kB / 0.527 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.386, allocations: 6.438 kB / 0.527 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.386, allocations: 4.531 kB / 0.527 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.3862, allocations: 96.67 kB / 0.5271 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.3872, allocations: 0.8167 MB / 0.5279 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000643/0.3879, allocations: 247.4 kB / 0.5281 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.3881, allocations: 94.27 kB / 0.5282 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.3881, allocations: 4.125 kB / 0.5282 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003732/0.3885, allocations: 210.1 kB / 0.5284 GB, free: 13.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.3885, allocations: 0 / 0.5284 GB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.00255/0.3911, allocations: 1.142 MB / 0.5295 GB, free: 13.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.324e-05/0.3912, allocations: 137.9 kB / 0.5297 GB, free: 12.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.3923, allocations: 0.9226 MB / 0.5306 GB, free: 12.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.3924, allocations: 38.2 kB / 0.5306 GB, free: 12.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.3926, allocations: 262.1 kB / 0.5308 GB, free: 12.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.3927, allocations: 150.2 kB / 0.531 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3928, allocations: 79.7 kB / 0.5311 GB, free: 12.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.393, allocations: 382.1 kB / 0.5314 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.3933, allocations: 112.1 kB / 0.5315 GB, free: 11.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.3936, allocations: 183.5 kB / 0.5317 GB, free: 11.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.3941, allocations: 313.8 kB / 0.532 GB, free: 11.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3941, allocations: 4 kB / 0.532 GB, free: 11.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007581/0.3949, allocations: 439.5 kB / 0.5324 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3949, allocations: 9.656 kB / 0.5324 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3949, allocations: 5.625 kB / 0.5324 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.3949, allocations: 9.016 kB / 0.5325 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.3952, allocations: 86.94 kB / 0.5325 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.3953, allocations: 3.969 kB / 0.5325 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.3954, allocations: 28.02 kB / 0.5326 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.3955, allocations: 17.19 kB / 0.5326 GB, free: 11.02 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.0003206/0.3958, allocations: 248.8 kB / 0.5328 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3959, allocations: 76.83 kB / 0.5329 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.3961, allocations: 81.75 kB / 0.533 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.3961, allocations: 5.625 kB / 0.533 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.3961, allocations: 1.156 kB / 0.533 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.3961, allocations: 9.172 kB / 0.533 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.3979, allocations: 1.321 MB / 0.5343 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.3979, allocations: 3.344 kB / 0.5343 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.398, allocations: 63.11 kB / 0.5343 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.3981, allocations: 8.859 kB / 0.5343 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.3981, allocations: 12.41 kB / 0.5344 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.3981, allocations: 4.562 kB / 0.5344 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.3981, allocations: 7.125 kB / 0.5344 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.399, allocations: 0.7904 MB / 0.5351 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.3992, allocations: 181.8 kB / 0.5353 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.3993, allocations: 12.19 kB / 0.5353 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.3996, allocations: 20.02 kB / 0.5353 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.3997, allocations: 42.55 kB / 0.5354 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.3997, allocations: 25.55 kB / 0.5354 GB, free: 8.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007873/0.4005, allocations: 0.6723 MB / 0.5361 GB, free: 8.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4005, allocations: 0 / 0.5361 GB, free: 8.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005351/0.4011, allocations: 88.67 kB / 0.5362 GB, free: 8.523 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.001278/0.4023, allocations: 0.5415 MB / 0.5367 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006917/0.403, allocations: 317.6 kB / 0.537 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4031, allocations: 0 / 0.537 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.4034, allocations: 157.8 kB / 0.5371 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009591/0.4044, allocations: 141.9 kB / 0.5373 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.4062, allocations: 1.214 MB / 0.5385 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.4067, allocations: 0.9104 MB / 0.5393 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.4069, allocations: 52.45 kB / 0.5394 GB, free: 6.426 MB / 398.1 MB Notification: Performance of SimCode: time 1.904e-06/0.4069, allocations: 0 / 0.5394 GB, free: 6.426 MB / 398.1 MB Notification: Performance of Templates: time 0.01031/0.4172, allocations: 6.64 MB / 0.5459 GB, free: 0.8164 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches