Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.0007936/0.0007936, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001892, 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.0007584/0.0007584, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001813, 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 1.036/1.036, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1082/1.144, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.2751/0.2751, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02663/0.3017, allocations: 13.11 MB / 291.5 MB, free: 7.328 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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 292.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.102e-05, allocations: 7.406 kB / 292.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003739/0.00377, allocations: 1.834 MB / 294.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.005596, allocations: 1.018 MB / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.711e-05/0.005673, allocations: 0 / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.005899, allocations: 111.5 kB / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.006196, allocations: 131.4 kB / 296 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.006414, allocations: 87.48 kB / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.006587, allocations: 127.7 kB / 296.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.601e-05/0.006673, allocations: 11.98 kB / 296.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.006857, allocations: 107.7 kB / 296.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.006999, allocations: 59.88 kB / 296.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.007018, allocations: 4 kB / 296.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.007159, allocations: 59.91 kB / 296.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.0072, allocations: 31.81 kB / 296.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.007242, allocations: 19.94 kB / 296.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.007482, allocations: 127.5 kB / 296.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.007488, allocations: 0 / 296.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.007489, allocations: 0 / 296.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.007494, allocations: 0 / 296.6 MB, free: 2.359 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005898/0.008084, allocations: 380.7 kB / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.008124, allocations: 12.03 kB / 297 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.008171, allocations: 16.92 kB / 297 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.00839, allocations: 158.4 kB / 297.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.008409, allocations: 4.375 kB / 297.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.008436, allocations: 4.375 kB / 297.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.008633, allocations: 69.75 kB / 297.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.008647, allocations: 7.938 kB / 297.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.008655, allocations: 0 / 297.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.008662, allocations: 0 / 297.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.008705, allocations: 19.91 kB / 297.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.009003, allocations: 185.9 kB / 297.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.009234, allocations: 97.28 kB / 297.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.009262, allocations: 20.88 kB / 297.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.009271, allocations: 4 kB / 297.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.913e-05/0.00936, allocations: 66.16 kB / 297.7 MB, free: 1.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.009362, allocations: 0 / 297.7 MB, free: 1.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006256/0.009987, allocations: 202.9 kB / 297.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.01002, allocations: 55.41 kB / 297.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.01021, allocations: 217.8 kB / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.01022, allocations: 25.7 kB / 298.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.01027, allocations: 96.11 kB / 298.3 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.01032, allocations: 39.67 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.01036, allocations: 29.69 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.01047, allocations: 330.8 kB / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.0105, allocations: 18.77 kB / 298.7 MB, free: 184 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.195e-05/0.01054, allocations: 32.56 kB / 298.7 MB, free: 148 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.802e-05/0.01062, allocations: 65.36 kB / 298.8 MB, free: 76 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01062, allocations: 4 kB / 298.8 MB, free: 72 kB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001556/0.01078, allocations: 88.36 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.01079, allocations: 4 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.0108, allocations: 0 / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.0108, allocations: 0 / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.01089, allocations: 31.98 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.0109, allocations: 0 / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.01094, allocations: 4 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.01094, allocations: 3.938 kB / 298.9 MB, free: 15.93 MB / 298.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 (14): * Single equations (assignments): 14 * 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 9.249e-05/0.01104, allocations: 133.7 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.01106, allocations: 15.98 kB / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.01123, allocations: 91.12 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.01123, allocations: 3.984 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.01124, allocations: 0 / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01124, allocations: 4 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.01161, allocations: 348.1 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01161, allocations: 0 / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.995e-05/0.01168, allocations: 23.98 kB / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.0117, allocations: 19.91 kB / 299.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.01171, allocations: 4 kB / 299.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.01172, allocations: 4 kB / 299.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.01173, allocations: 4 kB / 299.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01173, allocations: 3.938 kB / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.01191, allocations: 239.9 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.01194, allocations: 8 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.01201, allocations: 4 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.01204, allocations: 11.98 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.01205, allocations: 11.92 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.53e-05/0.01213, allocations: 69.94 kB / 299.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01213, allocations: 0 / 299.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.01237, allocations: 35.92 kB / 299.9 MB, free: 14.84 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 (14): * Single equations (assignments): 12 * 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.002474/0.01485, allocations: 0.7287 MB / 300.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.01504, allocations: 64.38 kB / 300.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/0.01506, allocations: 4 kB / 300.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.535e-05/0.01512, allocations: 48.81 kB / 300.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.01542, allocations: 183.9 kB / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.01603, allocations: 289 kB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.452e-05/0.01608, allocations: 83.78 kB / 301.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.769e-05/0.01613, allocations: 21.31 kB / 301.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/0.01621, allocations: 75.36 kB / 301.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01621, allocations: 0 / 301.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of Templates: time 0.004233/0.02044, allocations: 2.488 MB / 303.9 MB, free: 11.22 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.95725205168128]