Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.616/1.616, allocations: 230.6 MB / 257.5 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2636/0.2636, allocations: 46.93 MB / 360.8 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 71.89 kB / 0.4967 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4496, allocations: 66.03 MB / 0.5612 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003907/0.4535, allocations: 1.733 MB / 0.5629 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.4555, allocations: 1.057 MB / 0.5639 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.284e-05/0.4556, allocations: 4 kB / 0.5639 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.4559, allocations: 51.69 kB / 0.564 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.4563, allocations: 103.6 kB / 0.5641 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.4565, allocations: 79.67 kB / 0.5641 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.4567, allocations: 107.7 kB / 0.5643 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.4568, allocations: 7.984 kB / 0.5643 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.4569, allocations: 51.72 kB / 0.5643 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.457, allocations: 27.86 kB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.4571, allocations: 4 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.4572, allocations: 43.97 kB / 0.5644 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.967e-05/0.4572, allocations: 39.78 kB / 0.5644 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.4573, allocations: 39.69 kB / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.4576, allocations: 141.8 kB / 0.5646 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4576, allocations: 0 / 0.5646 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4576, allocations: 0 / 0.5646 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.4576, allocations: 0 / 0.5646 GB, free: 0.9102 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.0006633/0.4583, allocations: 381.2 kB / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4583, allocations: 8.031 kB / 0.565 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.4584, allocations: 16.84 kB / 0.565 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.4587, allocations: 171.2 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.4587, allocations: 384 / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.4588, allocations: 12.12 kB / 0.5652 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.4589, allocations: 53.67 kB / 0.5652 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.459, allocations: 4 kB / 0.5652 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.459, allocations: 0 / 0.5652 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.459, allocations: 0 / 0.5652 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/0.459, allocations: 19.98 kB / 0.5652 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.4595, allocations: 279.8 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.4597, allocations: 54.62 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.4597, allocations: 20.84 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.4597, allocations: 0 / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.4599, allocations: 67.39 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4599, allocations: 4 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005928/0.4605, allocations: 181.3 kB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.4605, allocations: 55.41 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.4608, allocations: 270.8 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.4609, allocations: 25.7 kB / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.461, allocations: 116.1 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.461, allocations: 27.78 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.461, allocations: 29.72 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4612, allocations: 334.7 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.4613, allocations: 20 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.4613, allocations: 37.69 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.4615, allocations: 57.7 kB / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4615, allocations: 4 kB / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002584/0.4617, allocations: 109.5 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4617, allocations: 8 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4617, allocations: 3.938 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4618, allocations: 0 / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.4618, allocations: 16 kB / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4619, allocations: 0 / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.4619, allocations: 11.86 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.4619, allocations: 8 kB / 0.5669 GB, free: 14.35 MB / 414.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.0001198/0.462, allocations: 137.9 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.4621, allocations: 15.91 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.4623, allocations: 111.4 kB / 0.5671 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4623, allocations: 0 / 0.5671 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4623, allocations: 0 / 0.5671 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4623, allocations: 3.938 kB / 0.5671 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.4628, allocations: 378.4 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4628, allocations: 4 kB / 0.5675 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.463e-05/0.4628, allocations: 15.97 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4629, allocations: 0 / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.4629, allocations: 8.125 kB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4629, allocations: 0 / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4629, allocations: 7.938 kB / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.4631, allocations: 208.6 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.4631, allocations: 11.91 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.4632, allocations: 15.94 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.4632, allocations: 0 / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.4633, allocations: 7.984 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.4633, allocations: 4 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001945/0.4635, allocations: 208.5 kB / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4635, allocations: 0 / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.4638, allocations: 27.94 kB / 0.568 GB, free: 13.11 MB / 414.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.001776/0.4655, allocations: 461.1 kB / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.4658, allocations: 55.91 kB / 0.5685 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4658, allocations: 0 / 0.5685 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.4659, allocations: 28.11 kB / 0.5685 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.4662, allocations: 32.11 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.4668, allocations: 295.5 kB / 0.5688 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.4671, allocations: 0.7158 MB / 0.5695 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.035e-05/0.4672, allocations: 21.27 kB / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.4672, allocations: 19.42 kB / 0.5696 GB, free: 11.63 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4672, allocations: 0 / 0.5696 GB, free: 11.63 MB / 414.1 MB Notification: Performance of Templates: time 0.005525/0.4727, allocations: 1.822 MB / 0.5714 GB, free: 9.824 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.606870982097462]