Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001028/0.001028, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002475, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001031/0.001031, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002429, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9651/0.9651, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09469/1.06, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.2792/0.2792, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02677/0.306, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.7 MB " [Timeout remaining time 180] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 292.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.513e-05, allocations: 6.141 kB / 292.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002144/0.002159, allocations: 1.831 MB / 294.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.003383, allocations: 1.029 MB / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.003448, allocations: 0 / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.003661, allocations: 107.5 kB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.003879, allocations: 131.4 kB / 296 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.00405, allocations: 87.55 kB / 296.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.004211, allocations: 123.6 kB / 296.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.813e-05/0.004289, allocations: 11.98 kB / 296.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.004423, allocations: 99.73 kB / 296.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/0.004511, allocations: 55.86 kB / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.004526, allocations: 4 kB / 296.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-05/0.00462, allocations: 63.86 kB / 296.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.004666, allocations: 27.86 kB / 296.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.004698, allocations: 15.94 kB / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.004866, allocations: 123.5 kB / 296.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.004877, allocations: 0 / 296.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004878, allocations: 0 / 296.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.004889, allocations: 0 / 296.6 MB, free: 2.387 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000456/0.005345, allocations: 368.8 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.005375, allocations: 12.03 kB / 297 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.005416, allocations: 8.922 kB / 297 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.005568, allocations: 161.4 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.005583, allocations: 384 / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.005607, allocations: 12.36 kB / 297.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.005713, allocations: 69.75 kB / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.005724, allocations: 7.922 kB / 297.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.005732, allocations: 4 kB / 297.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005737, allocations: 0 / 297.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.005765, allocations: 15.92 kB / 297.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.005988, allocations: 177.9 kB / 297.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.006131, allocations: 85.3 kB / 297.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.006152, allocations: 12.86 kB / 297.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.006163, allocations: 0 / 297.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.95e-05/0.006262, allocations: 82.27 kB / 297.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.006263, allocations: 0 / 297.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000428/0.006691, allocations: 169.4 kB / 297.8 MB, free: 1.117 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.006721, allocations: 55.41 kB / 297.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.006846, allocations: 212.3 kB / 298.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.006863, allocations: 29.7 kB / 298.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.006897, allocations: 96.11 kB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.006944, allocations: 43.67 kB / 298.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.006975, allocations: 21.7 kB / 298.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.007058, allocations: 334.8 kB / 298.6 MB, free: 296 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.007077, allocations: 18.75 kB / 298.6 MB, free: 276 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/0.007107, allocations: 35.56 kB / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.857e-05/0.007156, allocations: 48.41 kB / 298.7 MB, free: 180 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.007157, allocations: 4 kB / 298.7 MB, free: 176 kB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.333e-05/0.00724, allocations: 84.42 kB / 298.8 MB, free: 84 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.007251, allocations: 4 kB / 298.8 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.007255, allocations: 0 / 298.8 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.007269, allocations: 4 kB / 298.8 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.007331, allocations: 24.02 kB / 298.8 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.007335, allocations: 4 kB / 298.8 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.007361, allocations: 0 / 298.8 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.007367, allocations: 4 kB / 298.8 MB, free: 44 kB / 282.7 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 (13): * Single equations (assignments): 13 * 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 8.135e-05/0.007448, allocations: 124.5 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.007465, allocations: 15.98 kB / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.007587, allocations: 91.05 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.00759, allocations: 0 / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.007593, allocations: 4 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.007599, allocations: 0 / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.007856, allocations: 336.1 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.007858, allocations: 0 / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-05/0.007893, allocations: 20 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.007908, allocations: 15.89 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.00791, allocations: 4 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.007918, allocations: 3.984 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.007921, allocations: 4 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007922, allocations: 0 / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.008046, allocations: 236.5 kB / 299.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.008063, allocations: 8 kB / 299.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.377e-05/0.008107, allocations: 4 kB / 299.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.008135, allocations: 7.984 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.008148, allocations: 7.938 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.455e-05/0.008203, allocations: 76.61 kB / 299.7 MB, free: 15.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008203, allocations: 0 / 299.7 MB, free: 15.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000152/0.008355, allocations: 27.94 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001737/0.01009, allocations: 0.7372 MB / 300.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.01023, allocations: 56.72 kB / 300.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/0.01024, allocations: 4 kB / 300.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.749e-05/0.01029, allocations: 36.78 kB / 300.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.01054, allocations: 180.4 kB / 300.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.01103, allocations: 277.6 kB / 301 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.84e-05/0.01108, allocations: 80.27 kB / 301.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.193e-05/0.01112, allocations: 16.62 kB / 301.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.0112, allocations: 71.36 kB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0112, allocations: 0 / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of Templates: time 0.004012/0.01521, allocations: 2.339 MB / 303.5 MB, free: 11.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.836413223296404]