Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001362/0.001362, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002411/0.002411, allocations: 215.8 kB / 23.75 MB, free: 4.668 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.553/1.553, allocations: 230.6 MB / 257.5 MB, free: 8 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.27/0.27, allocations: 46.93 MB / 360.8 MB, free: 4.27 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 63.89 kB / 0.4967 GB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4596, allocations: 66.03 MB / 0.5612 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.004924/0.4645, allocations: 1.753 MB / 0.5629 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.467, allocations: 1.049 MB / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.4671, allocations: 4 kB / 0.5639 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.4676, allocations: 35.78 kB / 0.564 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000516/0.4681, allocations: 103.5 kB / 0.5641 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.4685, allocations: 83.66 kB / 0.5641 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.4688, allocations: 103.7 kB / 0.5642 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.4689, allocations: 8 kB / 0.5642 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.4691, allocations: 47.72 kB / 0.5643 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.4692, allocations: 31.84 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.4692, allocations: 4 kB / 0.5643 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.4694, allocations: 39.98 kB / 0.5644 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-05/0.4695, allocations: 27.91 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.4695, allocations: 35.69 kB / 0.5644 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.4699, allocations: 121.9 kB / 0.5645 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.4699, allocations: 4 kB / 0.5645 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.12e-06/0.4699, allocations: 4 kB / 0.5645 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.4699, allocations: 3.938 kB / 0.5646 GB, free: 0.9336 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.0008032/0.4707, allocations: 337.6 kB / 0.5649 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.4708, allocations: 12.03 kB / 0.5649 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.614e-05/0.4708, allocations: 8.891 kB / 0.5649 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.4712, allocations: 159 kB / 0.565 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.4712, allocations: 8.312 kB / 0.5651 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.4713, allocations: 12.12 kB / 0.5651 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.4715, allocations: 49.67 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.4715, allocations: 0 / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.4715, allocations: 4 kB / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.4715, allocations: 0 / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.181e-05/0.4716, allocations: 19.98 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/0.4723, allocations: 259.9 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.4725, allocations: 58.61 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.4726, allocations: 16.86 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.4726, allocations: 0 / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.4728, allocations: 67.39 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.575e-06/0.4728, allocations: 4 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007688/0.4736, allocations: 181.3 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.4736, allocations: 55.39 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.4739, allocations: 194.3 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.4739, allocations: 33.64 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.474, allocations: 104.1 kB / 0.5661 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.4741, allocations: 27.78 kB / 0.5661 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.68e-05/0.4742, allocations: 25.66 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.4744, allocations: 334.8 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-05/0.4744, allocations: 23.92 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.792e-05/0.4745, allocations: 33.7 kB / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.4747, allocations: 53.72 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4747, allocations: 0 / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002291/0.4749, allocations: 109.5 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4749, allocations: 4 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4749, allocations: 0 / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/0.4749, allocations: 7.984 kB / 0.5667 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.4751, allocations: 19.98 kB / 0.5667 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4751, allocations: 0 / 0.5667 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.4752, allocations: 7.938 kB / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.4752, allocations: 3.938 kB / 0.5667 GB, free: 14.55 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.000159/0.4754, allocations: 133.8 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.4754, allocations: 15.91 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.4758, allocations: 111.2 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4758, allocations: 4 kB / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4758, allocations: 0 / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.4758, allocations: 3.938 kB / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005997/0.4764, allocations: 366.5 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4764, allocations: 0 / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.4765, allocations: 11.94 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.4765, allocations: 4.031 kB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.4765, allocations: 15.92 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4765, allocations: 0 / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4765, allocations: 0 / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.4768, allocations: 196.3 kB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.4769, allocations: 11.95 kB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.4769, allocations: 3.938 kB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.477, allocations: 16.3 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.477, allocations: 4 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.4771, allocations: 0 / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.4772, allocations: 160.2 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4772, allocations: 0 / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.4775, allocations: 27.92 kB / 0.5677 GB, free: 13.39 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.001969/0.4795, allocations: 466.7 kB / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.4797, allocations: 51.92 kB / 0.5682 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4797, allocations: 0 / 0.5682 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.516e-05/0.4798, allocations: 23.98 kB / 0.5682 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.4803, allocations: 36.09 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000677/0.4809, allocations: 230.6 kB / 0.5685 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.4814, allocations: 0.7119 MB / 0.5692 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.865e-05/0.4815, allocations: 17.28 kB / 0.5692 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.4815, allocations: 27.36 kB / 0.5692 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4815, allocations: 0 / 0.5692 GB, free: 11.96 MB / 414.1 MB Notification: Performance of Templates: time 0.007653/0.4892, allocations: 1.767 MB / 0.571 GB, free: 10.22 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.8556788398418576]