Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001231/0.001231, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001793/0.003024, allocations: 449.7 kB / 10.37 MB, free: 328 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.001172/0.001172, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001729/0.002901, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.148/1.148, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1209/1.269, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.2718/0.2718, allocations: 32.79 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02641/0.2982, allocations: 12.53 MB / 289.3 MB, free: 8.695 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.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 3.938 kB / 290.7 MB, free: 7.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.467e-05, allocations: 4.203 kB / 290.7 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002653/0.002678, allocations: 2.095 MB / 292.8 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.004004, allocations: 1.109 MB / 293.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.471e-05/0.004099, allocations: 7.938 kB / 293.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.0043, allocations: 43.59 kB / 293.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.004522, allocations: 119.3 kB / 294.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.004722, allocations: 111.5 kB / 294.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.004937, allocations: 207.3 kB / 294.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.005026, allocations: 26.39 kB / 294.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.005191, allocations: 144.4 kB / 294.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.005282, allocations: 59.78 kB / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.005304, allocations: 12 kB / 294.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.133e-05/0.005385, allocations: 55.86 kB / 294.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.005435, allocations: 35.88 kB / 294.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.005481, allocations: 35.88 kB / 294.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.005683, allocations: 147.5 kB / 294.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.005697, allocations: 0 / 294.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005698, allocations: 0 / 294.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.005712, allocations: 0 / 294.9 MB, free: 4.031 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005961/0.006308, allocations: 0.4923 MB / 295.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.006338, allocations: 8.031 kB / 295.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.006378, allocations: 16.92 kB / 295.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.006568, allocations: 177.4 kB / 295.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.00659, allocations: 8.375 kB / 295.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.00661, allocations: 8.375 kB / 295.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.006794, allocations: 160.6 kB / 295.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.006802, allocations: 3.938 kB / 295.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.006811, allocations: 0 / 295.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.006816, allocations: 4 kB / 295.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.428e-05/0.00687, allocations: 30.75 kB / 295.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.007192, allocations: 386 kB / 296.2 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.007365, allocations: 117.2 kB / 296.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.007398, allocations: 28.84 kB / 296.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.007411, allocations: 0 / 296.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.007545, allocations: 116.7 kB / 296.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.007546, allocations: 0 / 296.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001515/0.007698, allocations: 99.27 kB / 296.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.007728, allocations: 59.41 kB / 296.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.007847, allocations: 218.6 kB / 296.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.007865, allocations: 29.7 kB / 296.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.007911, allocations: 112.9 kB / 296.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.007937, allocations: 39.72 kB / 297 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.007977, allocations: 33.7 kB / 297 MB, free: 1.727 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.008052, allocations: 338.7 kB / 297.3 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-05/0.00809, allocations: 44.52 kB / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.928e-05/0.008139, allocations: 81.97 kB / 297.4 MB, free: 1.234 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.19e-05/0.008221, allocations: 120.5 kB / 297.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.008223, allocations: 0 / 297.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001241/0.008347, allocations: 170.5 kB / 297.7 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.008377, allocations: 33.7 kB / 297.8 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.008382, allocations: 0 / 297.8 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.00839, allocations: 4 kB / 297.8 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.008491, allocations: 44.03 kB / 297.8 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.008494, allocations: 0 / 297.8 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.437e-05/0.008559, allocations: 19.94 kB / 297.8 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.008568, allocations: 8 kB / 297.8 MB, free: 0.7969 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.09e-05/0.008639, allocations: 136.9 kB / 298 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.008655, allocations: 11.98 kB / 298 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.008768, allocations: 95.09 kB / 298.1 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.008773, allocations: 4 kB / 298.1 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.008775, allocations: 4 kB / 298.1 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.008778, allocations: 4 kB / 298.1 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.53e-05/0.008863, allocations: 105.8 kB / 298.2 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008865, allocations: 3.938 kB / 298.2 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.403e-05/0.008929, allocations: 27.92 kB / 298.2 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.008944, allocations: 19.89 kB / 298.2 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.008946, allocations: 0 / 298.2 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.008954, allocations: 0 / 298.2 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.008955, allocations: 4 kB / 298.2 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008956, allocations: 0 / 298.2 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.009096, allocations: 138.7 kB / 298.4 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.009114, allocations: 4.031 kB / 298.4 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.009166, allocations: 19.98 kB / 298.4 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.009205, allocations: 15.97 kB / 298.4 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.009216, allocations: 4 kB / 298.4 MB, free: 156 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.181e-05/0.009268, allocations: 70.61 kB / 298.5 MB, free: 84 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009268, allocations: 0 / 298.5 MB, free: 84 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001322/0.0094, allocations: 47.88 kB / 298.5 MB, free: 36 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00117/0.01057, allocations: 0.5572 MB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.01072, allocations: 147.8 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.01072, allocations: 7.984 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.725e-05/0.01077, allocations: 40.41 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.01093, allocations: 67.86 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.01143, allocations: 311.3 kB / 299.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.577e-05/0.01147, allocations: 79.92 kB / 299.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.721e-05/0.01153, allocations: 21.48 kB / 299.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.668e-05/0.01162, allocations: 91.34 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01162, allocations: 0 / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of Templates: time 0.004409/0.01603, allocations: 3.276 MB / 303.1 MB, free: 11.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.326471029780805]