Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001432/0.001432, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.67/1.67, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2439/0.2439, allocations: 46.89 MB / 361.1 MB, free: 4.645 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 87.86 kB / 0.4968 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.4642, allocations: 66 MB / 0.5613 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.004887/0.4691, allocations: 1.694 MB / 0.5629 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.4717, allocations: 1.025 MB / 0.5639 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.627e-05/0.4718, allocations: 0 / 0.5639 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000429/0.4723, allocations: 55.75 kB / 0.564 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.4727, allocations: 99.59 kB / 0.5641 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.473, allocations: 71.67 kB / 0.5641 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.4732, allocations: 99.69 kB / 0.5642 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.423e-05/0.4733, allocations: 8.172 kB / 0.5643 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.4734, allocations: 43.78 kB / 0.5643 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.4735, allocations: 31.84 kB / 0.5643 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.4736, allocations: 4 kB / 0.5643 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.4737, allocations: 36 kB / 0.5644 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.971e-05/0.4738, allocations: 35.77 kB / 0.5644 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.814e-05/0.4739, allocations: 35.69 kB / 0.5644 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.4742, allocations: 126.1 kB / 0.5646 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4742, allocations: 4 kB / 0.5646 GB, free: 1.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4742, allocations: 0 / 0.5646 GB, free: 1.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.4742, allocations: 0 / 0.5646 GB, free: 1.637 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000892/0.4751, allocations: 442.5 kB / 0.565 GB, free: 1.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.4752, allocations: 12.03 kB / 0.565 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.4753, allocations: 12.89 kB / 0.565 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.4758, allocations: 224.9 kB / 0.5652 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.4758, allocations: 4.359 kB / 0.5652 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.4758, allocations: 8.312 kB / 0.5652 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.476, allocations: 53.98 kB / 0.5653 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.476, allocations: 4 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.4761, allocations: 0 / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4761, allocations: 4 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.4762, allocations: 19.98 kB / 0.5653 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.4765, allocations: 185.7 kB / 0.5655 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.4768, allocations: 54.55 kB / 0.5655 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.393e-05/0.4769, allocations: 16.86 kB / 0.5656 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.4769, allocations: 0 / 0.5656 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.4771, allocations: 71.31 kB / 0.5656 GB, free: 388 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4771, allocations: 0 / 0.5656 GB, free: 388 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003619/0.4775, allocations: 101.5 kB / 0.5657 GB, free: 280 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.4775, allocations: 55.41 kB / 0.5658 GB, free: 212 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.4779, allocations: 270.8 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.4779, allocations: 29.7 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.478, allocations: 112.1 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.4781, allocations: 7.906 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.4781, allocations: 29.7 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.4783, allocations: 326.8 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.9e-05/0.4784, allocations: 15.98 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.4785, allocations: 25.62 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.4787, allocations: 49.64 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4787, allocations: 4 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002499/0.4789, allocations: 85.53 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.4789, allocations: 4 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4789, allocations: 3.938 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.174e-05/0.479, allocations: 3.984 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.4791, allocations: 19.94 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.4791, allocations: 0 / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.4792, allocations: 3.953 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.4792, allocations: 4 kB / 0.5667 GB, free: 15.18 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 (7): * Single equations (assignments): 7 * 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.0001811/0.4794, allocations: 144.5 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.4794, allocations: 16.16 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.4797, allocations: 98.66 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4798, allocations: 0 / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4798, allocations: 3.938 kB / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4798, allocations: 0 / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.48, allocations: 201.6 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.48, allocations: 0 / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.423e-05/0.48, allocations: 7.938 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.48, allocations: 4 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.48, allocations: 3.984 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.48, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.48, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.4802, allocations: 113 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.771e-05/0.4803, allocations: 92.95 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.4804, allocations: 0 / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.277e-05/0.4804, allocations: 7.984 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.4805, allocations: 7.984 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.4805, allocations: 4 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003034/0.4808, allocations: 196.6 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4808, allocations: 0 / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003888/0.4812, allocations: 20 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001809/0.483, allocations: 415.4 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.4832, allocations: 35.98 kB / 0.568 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4832, allocations: 8.062 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.862e-05/0.4833, allocations: 15.94 kB / 0.5681 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.4837, allocations: 36.89 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008495/0.4845, allocations: 286.3 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/0.4852, allocations: 0.7196 MB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.366e-05/0.4853, allocations: 12.56 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.4853, allocations: 19.42 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4853, allocations: 0 / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of Templates: time 0.00663/0.4919, allocations: 1.545 MB / 0.5706 GB, free: 11.19 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.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.576814753934741]