Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.002584, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009535/0.0009535, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002323, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9049/0.9049, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1624/1.067, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] 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.145/0.145, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02171/0.1667, allocations: 12.53 MB / 284.5 MB, free: 9.715 MB / 282.7 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.82e-07/8.82e-07, allocations: 0 / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.103e-05, allocations: 6.312 kB / 285.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.001881/0.001892, allocations: 1.784 MB / 287.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000942/0.002834, allocations: 0.8804 MB / 288.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.002882, allocations: 0 / 288.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.003024, allocations: 35.77 kB / 288.6 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.003147, allocations: 63.58 kB / 288.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.003329, allocations: 115.5 kB / 288.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.003447, allocations: 91.7 kB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.697e-05/0.003504, allocations: 12.17 kB / 288.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.705e-05/0.003601, allocations: 79.75 kB / 289 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.003657, allocations: 19.92 kB / 289 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.003669, allocations: 4 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.74e-05/0.003736, allocations: 43.92 kB / 289.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.003772, allocations: 19.94 kB / 289.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.0038, allocations: 19.88 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.003925, allocations: 87.66 kB / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.003933, allocations: 4 kB / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003934, allocations: 0 / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.003942, allocations: 0 / 289.2 MB, free: 5.047 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003019/0.004244, allocations: 320 kB / 289.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.54e-05/0.004269, allocations: 8.031 kB / 289.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.004294, allocations: 12.92 kB / 289.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.004411, allocations: 149.4 kB / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-06/0.004419, allocations: 4.375 kB / 289.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.004431, allocations: 4.375 kB / 289.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.425e-05/0.004495, allocations: 61.77 kB / 289.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.004501, allocations: 3.938 kB / 289.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-06/0.004505, allocations: 0 / 289.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-06/0.004508, allocations: 0 / 289.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.965e-05/0.004527, allocations: 11.98 kB / 289.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.004665, allocations: 161.9 kB / 289.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.169e-05/0.004737, allocations: 97.28 kB / 290 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.004755, allocations: 16.86 kB / 290 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.004762, allocations: 0 / 290 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/0.004825, allocations: 66.14 kB / 290.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.004826, allocations: 0 / 290.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002175/0.005044, allocations: 113.5 kB / 290.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.005065, allocations: 51.41 kB / 290.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.117e-05/0.005146, allocations: 161.7 kB / 290.4 MB, free: 3.695 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.005158, allocations: 29.7 kB / 290.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.005186, allocations: 96.06 kB / 290.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.005204, allocations: 23.78 kB / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.005231, allocations: 29.7 kB / 290.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.005297, allocations: 326.8 kB / 290.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.005311, allocations: 14.77 kB / 290.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.398e-05/0.005335, allocations: 21.72 kB / 290.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.496e-05/0.00537, allocations: 40.5 kB / 291 MB, free: 3.086 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.005371, allocations: 0 / 291 MB, free: 3.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.416e-05/0.005435, allocations: 76.44 kB / 291.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.005442, allocations: 4 kB / 291.1 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.005446, allocations: 4 kB / 291.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-06/0.005452, allocations: 7.969 kB / 291.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.752e-05/0.0055, allocations: 15.98 kB / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-06/0.005501, allocations: 4 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.005523, allocations: 4 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.005528, allocations: 4 kB / 291.1 MB, free: 2.961 MB / 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 (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 4.926e-05/0.005577, allocations: 124.6 kB / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.005588, allocations: 11.92 kB / 291.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.708e-05/0.005665, allocations: 70.39 kB / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.005666, allocations: 0 / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.005668, allocations: 0 / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.00567, allocations: 8 kB / 291.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.005849, allocations: 291.4 kB / 291.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.00585, allocations: 0 / 291.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.005872, allocations: 12 kB / 291.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.005882, allocations: 11.94 kB / 291.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.005883, allocations: 384 / 291.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.005888, allocations: 0 / 291.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.00589, allocations: 4 kB / 291.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.005893, allocations: 7.984 kB / 291.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.737e-05/0.00598, allocations: 215 kB / 291.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.005992, allocations: 4 kB / 291.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.447e-05/0.006026, allocations: 4 kB / 291.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.006044, allocations: 7.984 kB / 291.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.006052, allocations: 4 kB / 291.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.261e-05/0.006084, allocations: 42.89 kB / 291.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006084, allocations: 0 / 291.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.00622, allocations: 31.89 kB / 291.9 MB, free: 2.062 MB / 282.7 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 (9): * Single equations (assignments): 7 * 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.001256/0.007476, allocations: 0.6354 MB / 292.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.211e-05/0.007548, allocations: 56.69 kB / 292.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.007554, allocations: 4 kB / 292.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.007585, allocations: 25.08 kB / 292.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.007773, allocations: 186.6 kB / 292.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.00811, allocations: 227.3 kB / 293 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.261e-05/0.008142, allocations: 67.34 kB / 293.1 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.004e-05/0.008172, allocations: 12.48 kB / 293.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.008232, allocations: 71.3 kB / 293.2 MB, free: 1.023 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.008233, allocations: 0 / 293.2 MB, free: 1.023 MB / 282.7 MB Notification: Performance of Templates: time 0.003011/0.01124, allocations: 2.017 MB / 295.2 MB, free: 15.04 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.8230980951339006]