Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 105.5 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 196 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 251.6 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2255/0.2255, allocations: 44.91 MB / 351.6 MB, free: 12.22 MB / 286.1 MB " [Timeout remaining time 180] 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 75.88 kB / 495.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4478, allocations: 64.25 MB / 0.5465 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.004916/0.4527, allocations: 1.749 MB / 0.5482 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.4547, allocations: 0.8998 MB / 0.5491 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.4548, allocations: 5.75 kB / 0.5491 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005539/0.4554, allocations: 47.06 kB / 0.5491 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.4558, allocations: 59.38 kB / 0.5492 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.4562, allocations: 120.1 kB / 0.5493 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.4565, allocations: 121.2 kB / 0.5494 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.4566, allocations: 3.375 kB / 0.5494 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.4568, allocations: 56.77 kB / 0.5495 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.4569, allocations: 51.23 kB / 0.5495 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.457, allocations: 5.875 kB / 0.5495 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.4571, allocations: 66.94 kB / 0.5496 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.254e-05/0.4572, allocations: 20.83 kB / 0.5496 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.917e-05/0.4573, allocations: 41.48 kB / 0.5496 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.4577, allocations: 147.8 kB / 0.5498 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4577, allocations: 5.219 kB / 0.5498 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4577, allocations: 0 / 0.5498 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.4577, allocations: 0 / 0.5498 GB, free: 10.68 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007914/0.4585, allocations: 437 kB / 0.5502 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.4585, allocations: 10.22 kB / 0.5502 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.4586, allocations: 14.69 kB / 0.5502 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.4591, allocations: 214.8 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.4591, allocations: 7.375 kB / 0.5504 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.4591, allocations: 15.38 kB / 0.5505 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.4594, allocations: 74.38 kB / 0.5505 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.4594, allocations: 0 / 0.5505 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.4594, allocations: 5.391 kB / 0.5505 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.4594, allocations: 0 / 0.5505 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.4595, allocations: 44.56 kB / 0.5506 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.4601, allocations: 318.2 kB / 0.5509 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.4605, allocations: 85.91 kB / 0.551 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.1e-05/0.4605, allocations: 25.11 kB / 0.551 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.4606, allocations: 5.328 kB / 0.551 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003029/0.4609, allocations: 79.89 kB / 0.5511 GB, free: 9.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.4609, allocations: 0 / 0.5511 GB, free: 9.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009819/0.4619, allocations: 297.7 kB / 0.5513 GB, free: 9.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.4619, allocations: 56.59 kB / 0.5514 GB, free: 9.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.4621, allocations: 184.4 kB / 0.5516 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.4622, allocations: 30.8 kB / 0.5516 GB, free: 9.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.238e-05/0.4623, allocations: 105.8 kB / 0.5517 GB, free: 8.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.4623, allocations: 46.3 kB / 0.5518 GB, free: 8.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.4624, allocations: 28.38 kB / 0.5518 GB, free: 8.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4625, allocations: 330.1 kB / 0.5521 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.034e-05/0.4626, allocations: 43.02 kB / 0.5521 GB, free: 8.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.4627, allocations: 57.27 kB / 0.5522 GB, free: 8.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.4629, allocations: 93.92 kB / 0.5523 GB, free: 8.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4629, allocations: 0 / 0.5523 GB, free: 8.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002901/0.4632, allocations: 157.3 kB / 0.5524 GB, free: 8.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4632, allocations: 5.781 kB / 0.5524 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4632, allocations: 12 kB / 0.5524 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4633, allocations: 1.438 kB / 0.5524 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/0.4634, allocations: 20.28 kB / 0.5525 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.4634, allocations: 5.438 kB / 0.5525 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.4634, allocations: 6.922 kB / 0.5525 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.4634, allocations: 7.906 kB / 0.5525 GB, free: 8.305 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 (15): * Single equations (assignments): 15 * 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.0001364/0.4636, allocations: 134.9 kB / 0.5526 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.4636, allocations: 14.75 kB / 0.5526 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/0.464, allocations: 177.4 kB / 0.5528 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.464, allocations: 1.156 kB / 0.5528 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/0.464, allocations: 5.375 kB / 0.5528 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.464, allocations: 0 / 0.5528 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007671/0.4648, allocations: 490.8 kB / 0.5533 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4648, allocations: 1.062 kB / 0.5533 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.4649, allocations: 19.03 kB / 0.5533 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4649, allocations: 5.188 kB / 0.5533 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.4649, allocations: 11.3 kB / 0.5533 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4649, allocations: 1.188 kB / 0.5533 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4649, allocations: 1.406 kB / 0.5533 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.4653, allocations: 264.5 kB / 0.5536 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.331e-05/0.4654, allocations: 84.44 kB / 0.5536 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.4654, allocations: 10.31 kB / 0.5537 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.4655, allocations: 2.406 kB / 0.5537 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.4655, allocations: 9.922 kB / 0.5537 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.4655, allocations: 8.531 kB / 0.5537 GB, free: 7.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.4657, allocations: 144.9 kB / 0.5538 GB, free: 7.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4657, allocations: 0 / 0.5538 GB, free: 7.172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000294/0.466, allocations: 34.14 kB / 0.5538 GB, free: 7.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001983/0.468, allocations: 0.5231 MB / 0.5544 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.4683, allocations: 93.17 kB / 0.5544 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4683, allocations: 0 / 0.5544 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.4684, allocations: 42.8 kB / 0.5545 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.4688, allocations: 36.09 kB / 0.5545 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006573/0.4694, allocations: 282 kB / 0.5548 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.4699, allocations: 0.7186 MB / 0.5555 GB, free: 5.906 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.332e-05/0.47, allocations: 25.22 kB / 0.5555 GB, free: 5.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.47, allocations: 23.34 kB / 0.5555 GB, free: 5.887 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.47, allocations: 0 / 0.5555 GB, free: 5.887 MB / 398.1 MB Notification: Performance of Templates: time 0.006271/0.4763, allocations: 2.186 MB / 0.5577 GB, free: 4.18 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.372877778485417]