Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001394/0.001394, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001555/0.001555, allocations: 209 kB / 24.48 MB, free: 3.938 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.468/1.468, allocations: 230.6 MB / 258.2 MB, free: 7.758 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.2283/0.2283, allocations: 44.93 MB / 359.6 MB, free: 6.148 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.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003396/0.003396, allocations: 67.91 kB / 0.4943 GB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3467, allocations: 65.48 MB / 0.5583 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003212/0.3499, allocations: 1.659 MB / 0.5599 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.3517, allocations: 0.952 MB / 0.5608 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.3517, allocations: 0 / 0.5608 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.352, allocations: 67.72 kB / 0.5609 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.3524, allocations: 107.6 kB / 0.561 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.3525, allocations: 79.61 kB / 0.561 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.3527, allocations: 107.7 kB / 0.5612 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.3528, allocations: 4.234 kB / 0.5612 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.3529, allocations: 47.78 kB / 0.5612 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.353, allocations: 51.75 kB / 0.5612 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.353, allocations: 4 kB / 0.5613 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.351e-05/0.3531, allocations: 32 kB / 0.5613 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.484e-05/0.3531, allocations: 15.92 kB / 0.5613 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.3532, allocations: 35.78 kB / 0.5613 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.3534, allocations: 110.1 kB / 0.5614 GB, free: 4.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3534, allocations: 0 / 0.5614 GB, free: 4.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3534, allocations: 0 / 0.5614 GB, free: 4.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.3534, allocations: 0 / 0.5614 GB, free: 4.176 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.0005475/0.354, allocations: 337.6 kB / 0.5618 GB, free: 3.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.354, allocations: 12.03 kB / 0.5618 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.354, allocations: 12.84 kB / 0.5618 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.3543, allocations: 147.1 kB / 0.5619 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3543, allocations: 384 / 0.5619 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.3543, allocations: 4.125 kB / 0.5619 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3545, allocations: 57.66 kB / 0.562 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3545, allocations: 3.938 kB / 0.562 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3545, allocations: 0 / 0.562 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3545, allocations: 0 / 0.562 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.818e-05/0.3546, allocations: 19.98 kB / 0.562 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.3548, allocations: 129.3 kB / 0.5621 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.3549, allocations: 50.61 kB / 0.5622 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.355, allocations: 20.84 kB / 0.5622 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.355, allocations: 0 / 0.5622 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.3551, allocations: 83.27 kB / 0.5623 GB, free: 3.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3551, allocations: 0 / 0.5623 GB, free: 3.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002907/0.3554, allocations: 101.5 kB / 0.5624 GB, free: 3.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.3555, allocations: 55.41 kB / 0.5624 GB, free: 3.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.3557, allocations: 198.3 kB / 0.5626 GB, free: 2.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3557, allocations: 33.64 kB / 0.5626 GB, free: 2.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.3558, allocations: 100.1 kB / 0.5627 GB, free: 2.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.3558, allocations: 19.89 kB / 0.5628 GB, free: 2.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.3558, allocations: 17.72 kB / 0.5628 GB, free: 2.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.356, allocations: 322.8 kB / 0.5631 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-05/0.3561, allocations: 23.92 kB / 0.5631 GB, free: 2.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.065e-05/0.3561, allocations: 29.7 kB / 0.5631 GB, free: 2.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.3562, allocations: 41.7 kB / 0.5632 GB, free: 2.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3562, allocations: 4 kB / 0.5632 GB, free: 2.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001728/0.3564, allocations: 89.47 kB / 0.5633 GB, free: 2.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3564, allocations: 8 kB / 0.5633 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3564, allocations: 0 / 0.5633 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3564, allocations: 0 / 0.5633 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.546e-05/0.3565, allocations: 16.02 kB / 0.5633 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3565, allocations: 4 kB / 0.5633 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.3566, allocations: 3.938 kB / 0.5633 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3566, allocations: 4 kB / 0.5633 GB, free: 2.082 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 (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.0001181/0.3567, allocations: 124.9 kB / 0.5634 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.3567, allocations: 19.83 kB / 0.5634 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.3569, allocations: 90.92 kB / 0.5635 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3569, allocations: 384 / 0.5635 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3569, allocations: 0 / 0.5635 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3569, allocations: 7.984 kB / 0.5635 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.3571, allocations: 141.2 kB / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3571, allocations: 0 / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.3571, allocations: 4 kB / 0.5637 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3571, allocations: 3.938 kB / 0.5637 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3571, allocations: 0 / 0.5637 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3571, allocations: 4 kB / 0.5637 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3571, allocations: 3.984 kB / 0.5637 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.3573, allocations: 113 kB / 0.5638 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.3573, allocations: 19.83 kB / 0.5638 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.3574, allocations: 4 kB / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.3574, allocations: 8 kB / 0.5638 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.3574, allocations: 0 / 0.5638 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.3574, allocations: 7.984 kB / 0.5638 GB, free: 1.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.3576, allocations: 156.2 kB / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3576, allocations: 4 kB / 0.564 GB, free: 1.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.3578, allocations: 16 kB / 0.564 GB, free: 1.297 MB / 398.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 (6): * Single equations (assignments): 4 * 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.001581/0.3594, allocations: 444 kB / 0.5644 GB, free: 1.035 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.3596, allocations: 47.92 kB / 0.5645 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3596, allocations: 4.062 kB / 0.5645 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.22e-05/0.3596, allocations: 19.98 kB / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.3599, allocations: 23.97 kB / 0.5645 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.3603, allocations: 239.6 kB / 0.5647 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.3605, allocations: 97.12 kB / 0.5648 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.3605, allocations: 19.44 kB / 0.5649 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3605, allocations: 0 / 0.5649 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of Templates: time 0.003792/0.3643, allocations: 1.752 MB / 0.5666 GB, free: 14.79 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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: 7.980678026098758]