Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001352/0.001352, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001845/0.003197, 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.001313/0.001313, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00179/0.003103, 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.032/1.032, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1178/1.15, 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.2773/0.2773, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02715/0.3045, allocations: 13.11 MB / 291.5 MB, free: 7.336 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.581e-05/3.782e-05, allocations: 4.141 kB / 292.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003654/0.003691, allocations: 1.811 MB / 294.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.005401, allocations: 1.018 MB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.368e-05/0.005494, allocations: 3.938 kB / 295.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.005747, allocations: 47.64 kB / 295.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.00605, allocations: 95.48 kB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.006301, allocations: 83.53 kB / 296 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.006517, allocations: 111.6 kB / 296.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.00663, allocations: 8 kB / 296.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.006813, allocations: 79.8 kB / 296.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.006914, allocations: 23.92 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.006934, allocations: 4 kB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.007055, allocations: 47.86 kB / 296.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.00712, allocations: 23.92 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.007158, allocations: 15.94 kB / 296.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.007361, allocations: 99.59 kB / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.007374, allocations: 0 / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.007375, allocations: 0 / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.007386, allocations: 4 kB / 296.4 MB, free: 2.625 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.0005201/0.007906, allocations: 341 kB / 296.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.007947, allocations: 12.03 kB / 296.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.007986, allocations: 4.938 kB / 296.7 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.008186, allocations: 154.5 kB / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.008205, allocations: 384 / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.00823, allocations: 4.375 kB / 296.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.008364, allocations: 61.77 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.008379, allocations: 3.938 kB / 297 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.008387, allocations: 0 / 297 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.008395, allocations: 4 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.425e-05/0.008429, allocations: 15.92 kB / 297 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.008701, allocations: 170 kB / 297.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.008823, allocations: 89.27 kB / 297.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.357e-05/0.008846, allocations: 12.8 kB / 297.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.008859, allocations: 0 / 297.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.00898, allocations: 74.05 kB / 297.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.008981, allocations: 0 / 297.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003752/0.009357, allocations: 113.6 kB / 297.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.009388, allocations: 59.41 kB / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.009522, allocations: 184.8 kB / 297.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.009545, allocations: 29.7 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.009584, allocations: 96.11 kB / 297.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.009614, allocations: 23.75 kB / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.009653, allocations: 25.69 kB / 297.8 MB, free: 1.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.009742, allocations: 330.8 kB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.009763, allocations: 10.83 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.009789, allocations: 17.72 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.41e-05/0.009843, allocations: 48.44 kB / 298.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.009844, allocations: 4 kB / 298.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.037e-05/0.009935, allocations: 72.5 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.009948, allocations: 4 kB / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.009953, allocations: 4 kB / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.009966, allocations: 0 / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/0.01005, allocations: 19.92 kB / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.01005, allocations: 4 kB / 298.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.656e-05/0.01009, allocations: 4 kB / 298.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.0101, allocations: 4 kB / 298.4 MB, free: 496 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 (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 7.663e-05/0.01017, allocations: 123.2 kB / 298.5 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.01019, allocations: 11.92 kB / 298.5 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.01031, allocations: 75.06 kB / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01031, allocations: 4 kB / 298.6 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01031, allocations: 0 / 298.6 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01032, allocations: 0 / 298.6 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.01061, allocations: 299.4 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01061, allocations: 0 / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.01065, allocations: 11.98 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.01067, allocations: 11.91 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.01068, allocations: 8.031 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.01068, allocations: 0 / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01068, allocations: 3.938 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01069, allocations: 0 / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.01083, allocations: 219 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.01085, allocations: 3.984 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.01092, allocations: 8 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.01095, allocations: 7.984 kB / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.01096, allocations: 384 / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.671e-05/0.01103, allocations: 60.69 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01103, allocations: 7.938 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000251/0.01128, allocations: 23.94 kB / 299.2 MB, free: 15.55 MB / 298.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.001991/0.01327, allocations: 0.6442 MB / 299.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.01339, allocations: 44.81 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.0134, allocations: 3.984 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.259e-05/0.01345, allocations: 32.73 kB / 299.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.01377, allocations: 180.4 kB / 300.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.01432, allocations: 235.6 kB / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.663e-05/0.01438, allocations: 71.33 kB / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.851e-05/0.01442, allocations: 13.17 kB / 300.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/0.01451, allocations: 67.36 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01451, allocations: 0 / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of Templates: time 0.00511/0.01962, allocations: 2.049 MB / 302.5 MB, free: 12.53 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.8842093776911497]