Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001431/0.001431, allocations: 106.2 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.001551/0.001551, allocations: 193.2 kB / 22.97 MB, free: 5.613 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.583/1.583, 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.27/0.27, allocations: 44.91 MB / 351.6 MB, free: 12.24 MB / 286.1 MB " [Timeout remaining time 179] 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002613/0.002613, allocations: 67.91 kB / 495.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4566, allocations: 64.26 MB / 0.5465 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.004063/0.4606, allocations: 1.736 MB / 0.5482 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.4623, allocations: 0.9001 MB / 0.549 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.4624, allocations: 1.156 kB / 0.549 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.4628, allocations: 49.84 kB / 0.5491 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.463, allocations: 65.53 kB / 0.5492 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.4633, allocations: 106.9 kB / 0.5493 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.4635, allocations: 94.7 kB / 0.5493 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.4637, allocations: 7.594 kB / 0.5494 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.4638, allocations: 47.66 kB / 0.5494 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.456e-05/0.4638, allocations: 30.98 kB / 0.5494 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.4639, allocations: 2.844 kB / 0.5494 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.464, allocations: 46.81 kB / 0.5495 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.126e-05/0.4641, allocations: 31.03 kB / 0.5495 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.389e-05/0.4641, allocations: 44.62 kB / 0.5495 GB, free: 11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.4644, allocations: 129.4 kB / 0.5497 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4644, allocations: 0 / 0.5497 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4644, allocations: 1.281 kB / 0.5497 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.4644, allocations: 0 / 0.5497 GB, free: 10.92 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000745/0.4652, allocations: 446.4 kB / 0.5501 GB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4652, allocations: 13.31 kB / 0.5501 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.4653, allocations: 14.19 kB / 0.5501 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.4657, allocations: 211.9 kB / 0.5503 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4657, allocations: 1.75 kB / 0.5503 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.4657, allocations: 5.625 kB / 0.5503 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.4659, allocations: 59.33 kB / 0.5504 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4659, allocations: 0 / 0.5504 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4659, allocations: 0 / 0.5504 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4659, allocations: 1.344 kB / 0.5504 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.459e-05/0.466, allocations: 29.36 kB / 0.5504 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.4665, allocations: 300.2 kB / 0.5507 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.4667, allocations: 54.78 kB / 0.5508 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.4668, allocations: 20.62 kB / 0.5508 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.4668, allocations: 5.5 kB / 0.5508 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.4669, allocations: 64.95 kB / 0.5508 GB, free: 9.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.467, allocations: 1.531 kB / 0.5508 GB, free: 9.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006869/0.4676, allocations: 180.1 kB / 0.551 GB, free: 9.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.4677, allocations: 51.41 kB / 0.5511 GB, free: 9.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.468, allocations: 259.1 kB / 0.5513 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.468, allocations: 30.83 kB / 0.5513 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.4681, allocations: 115.7 kB / 0.5515 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.4682, allocations: 31.11 kB / 0.5515 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.4682, allocations: 24.59 kB / 0.5515 GB, free: 9.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4684, allocations: 331.1 kB / 0.5518 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/0.4685, allocations: 23.77 kB / 0.5518 GB, free: 8.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.058e-05/0.4685, allocations: 34.58 kB / 0.5519 GB, free: 8.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.4687, allocations: 63.73 kB / 0.5519 GB, free: 8.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4687, allocations: 0 / 0.5519 GB, free: 8.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002348/0.4689, allocations: 109.7 kB / 0.552 GB, free: 8.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4689, allocations: 4.531 kB / 0.552 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4689, allocations: 1.156 kB / 0.5521 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4689, allocations: 1.125 kB / 0.5521 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.469, allocations: 25.12 kB / 0.5521 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.469, allocations: 1.094 kB / 0.5521 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.4691, allocations: 10.19 kB / 0.5521 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.4691, allocations: 2.469 kB / 0.5521 GB, free: 8.684 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.0001271/0.4692, allocations: 137.3 kB / 0.5522 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.4693, allocations: 15.25 kB / 0.5522 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.4695, allocations: 118.4 kB / 0.5523 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4695, allocations: 0 / 0.5523 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4695, allocations: 1.312 kB / 0.5523 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.4695, allocations: 7.922 kB / 0.5524 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.47, allocations: 399.5 kB / 0.5527 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.47, allocations: 0 / 0.5527 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.4701, allocations: 15.92 kB / 0.5528 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4701, allocations: 5.031 kB / 0.5528 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4701, allocations: 10.19 kB / 0.5528 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4701, allocations: 0 / 0.5528 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4701, allocations: 1.188 kB / 0.5528 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.4703, allocations: 202.6 kB / 0.553 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.4704, allocations: 92.02 kB / 0.553 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.4704, allocations: 10.08 kB / 0.5531 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.4705, allocations: 2.281 kB / 0.5531 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.4705, allocations: 3.25 kB / 0.5531 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.4706, allocations: 3.125 kB / 0.5531 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002132/0.4708, allocations: 207 kB / 0.5533 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4708, allocations: 0 / 0.5533 GB, free: 7.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.471, allocations: 29.38 kB / 0.5533 GB, free: 7.629 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.001741/0.4728, allocations: 469.8 kB / 0.5537 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.473, allocations: 60.48 kB / 0.5538 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.473, allocations: 0 / 0.5538 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.4731, allocations: 27.8 kB / 0.5538 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.4735, allocations: 42.64 kB / 0.5539 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.4743, allocations: 295.1 kB / 0.5541 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.4747, allocations: 0.7232 MB / 0.5549 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.176e-05/0.4748, allocations: 17.84 kB / 0.5549 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.4748, allocations: 14.62 kB / 0.5549 GB, free: 6.395 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4748, allocations: 1.406 kB / 0.5549 GB, free: 6.395 MB / 398.1 MB Notification: Performance of Templates: time 0.005977/0.4808, allocations: 1.762 MB / 0.5566 GB, free: 5.375 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.657578359358013]