Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.001256/0.001256, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001426/0.001426, allocations: 209.6 kB / 25.13 MB, free: 3.605 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.454/1.454, allocations: 230.4 MB / 258.7 MB, free: 8.047 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.2288/0.2288, allocations: 46.93 MB / 362 MB, free: 4.293 MB / 286.1 MB " [Timeout remaining time 180] 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37") [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.002397/0.002397, allocations: 79.86 kB / 0.4979 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3466, allocations: 66.09 MB / 0.5624 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.0036/0.3502, allocations: 1.686 MB / 0.564 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3524, allocations: 1.029 MB / 0.565 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.3525, allocations: 0 / 0.565 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.3528, allocations: 63.73 kB / 0.5651 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003974/0.3532, allocations: 103.6 kB / 0.5652 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.3534, allocations: 83.66 kB / 0.5653 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.3536, allocations: 107.7 kB / 0.5654 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.3537, allocations: 4.234 kB / 0.5654 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.3538, allocations: 51.77 kB / 0.5654 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.354, allocations: 55.7 kB / 0.5655 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.354, allocations: 7.938 kB / 0.5655 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.607e-05/0.3541, allocations: 27.98 kB / 0.5655 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.3542, allocations: 19.92 kB / 0.5655 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.3542, allocations: 31.8 kB / 0.5656 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.3545, allocations: 106.1 kB / 0.5657 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3545, allocations: 7.938 kB / 0.5657 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3545, allocations: 0 / 0.5657 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3545, allocations: 7.938 kB / 0.5657 GB, free: 0.8086 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.0006134/0.3551, allocations: 337.6 kB / 0.566 GB, free: 460 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3551, allocations: 8.031 kB / 0.566 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.3552, allocations: 12.84 kB / 0.566 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.3555, allocations: 147 kB / 0.5662 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3555, allocations: 4.375 kB / 0.5662 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.3555, allocations: 4.375 kB / 0.5662 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3557, allocations: 53.98 kB / 0.5662 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3557, allocations: 4 kB / 0.5662 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3557, allocations: 0 / 0.5662 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3557, allocations: 0 / 0.5662 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.13e-05/0.3558, allocations: 19.92 kB / 0.5663 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.3561, allocations: 152.7 kB / 0.5664 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.3563, allocations: 50.61 kB / 0.5665 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.3563, allocations: 20.86 kB / 0.5665 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3564, allocations: 0 / 0.5665 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.3565, allocations: 75.27 kB / 0.5665 GB, free: 15.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3565, allocations: 0 / 0.5665 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002884/0.3568, allocations: 93.62 kB / 0.5666 GB, free: 15.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.3569, allocations: 55.39 kB / 0.5667 GB, free: 15.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.3571, allocations: 206.2 kB / 0.5669 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.3571, allocations: 29.7 kB / 0.5669 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.3572, allocations: 96.14 kB / 0.567 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.3572, allocations: 15.89 kB / 0.567 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.3572, allocations: 17.72 kB / 0.567 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3574, allocations: 326.8 kB / 0.5673 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.486e-05/0.3574, allocations: 12 kB / 0.5674 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.3575, allocations: 33.64 kB / 0.5674 GB, free: 14.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.3576, allocations: 45.7 kB / 0.5674 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3576, allocations: 0 / 0.5674 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001648/0.3578, allocations: 89.45 kB / 0.5675 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3578, allocations: 8 kB / 0.5675 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3578, allocations: 0 / 0.5675 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3578, allocations: 0 / 0.5675 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.3579, allocations: 11.98 kB / 0.5675 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.3579, allocations: 11.97 kB / 0.5676 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.358, allocations: 7.938 kB / 0.5676 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.358, allocations: 4 kB / 0.5676 GB, free: 14.7 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.0001185/0.3581, allocations: 121.8 kB / 0.5677 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.3581, allocations: 11.89 kB / 0.5677 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.3583, allocations: 90.7 kB / 0.5678 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3583, allocations: 0 / 0.5678 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3583, allocations: 384 / 0.5678 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3583, allocations: 8 kB / 0.5678 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.3585, allocations: 164.6 kB / 0.5679 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3585, allocations: 4 kB / 0.5679 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.3585, allocations: 7.938 kB / 0.568 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3585, allocations: 0 / 0.568 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.3585, allocations: 0 / 0.568 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3585, allocations: 0 / 0.568 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3585, allocations: 0 / 0.568 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.3587, allocations: 117 kB / 0.5681 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.889e-05/0.3587, allocations: 7.891 kB / 0.5681 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.3588, allocations: 7.984 kB / 0.5681 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-05/0.3588, allocations: 4 kB / 0.5681 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.3588, allocations: 4 kB / 0.5681 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3589, allocations: 3.938 kB / 0.5681 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.359, allocations: 148.2 kB / 0.5682 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.359, allocations: 0 / 0.5682 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.3592, allocations: 19.92 kB / 0.5683 GB, free: 13.91 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.001521/0.3607, allocations: 412 kB / 0.5686 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.3609, allocations: 43.92 kB / 0.5687 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3609, allocations: 0 / 0.5687 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.361, allocations: 12 kB / 0.5687 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.3612, allocations: 27.97 kB / 0.5687 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.3617, allocations: 209.8 kB / 0.5689 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.3622, allocations: 0.7041 MB / 0.5696 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.893e-05/0.3622, allocations: 16.34 kB / 0.5696 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.3623, allocations: 15.44 kB / 0.5696 GB, free: 12.56 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3623, allocations: 0 / 0.5696 GB, free: 12.56 MB / 414.1 MB Notification: Performance of Templates: time 0.005801/0.3681, allocations: 1.532 MB / 0.5711 GB, free: 11.04 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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: 4.97464948403649]