Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.0007576/0.0007576, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001789, 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.0006893/0.0006893, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009401/0.001629, 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.005/1.005, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0868/1.092, 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.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.2903/0.2903, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02724/0.3175, allocations: 13.1 MB / 291.3 MB, free: 7.355 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 292.7 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.158e-05, allocations: 3.078 kB / 292.7 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002363/0.002384, allocations: 1.803 MB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.003767, allocations: 1.016 MB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.498e-05/0.003832, allocations: 4 kB / 295.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.004, allocations: 35.72 kB / 295.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.004184, allocations: 99.47 kB / 295.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.004313, allocations: 83.59 kB / 295.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.004472, allocations: 107.7 kB / 295.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.492e-05/0.004557, allocations: 11.92 kB / 295.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.004673, allocations: 75.81 kB / 295.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.974e-05/0.004753, allocations: 27.84 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.004769, allocations: 4 kB / 296 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.72e-05/0.004846, allocations: 47.92 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.004889, allocations: 19.92 kB / 296 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.004926, allocations: 15.94 kB / 296.1 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.00509, allocations: 95.61 kB / 296.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.005109, allocations: 4 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005109, allocations: 0 / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.005126, allocations: 0 / 296.2 MB, free: 2.746 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.0005036/0.00563, allocations: 329 kB / 296.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.005661, allocations: 8.031 kB / 296.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.005698, allocations: 12.92 kB / 296.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.005849, allocations: 142.3 kB / 296.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.005863, allocations: 384 / 296.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.005879, allocations: 4.375 kB / 296.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.005981, allocations: 65.7 kB / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.005992, allocations: 11.92 kB / 296.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.005998, allocations: 4 kB / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.006002, allocations: 0 / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.539e-05/0.006028, allocations: 7.984 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.006214, allocations: 169.9 kB / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.366e-05/0.006308, allocations: 85.3 kB / 297 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.006334, allocations: 12.8 kB / 297 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.006347, allocations: 4 kB / 297 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.8e-05/0.006445, allocations: 82.08 kB / 297.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.42e-07/0.006446, allocations: 0 / 297.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002859/0.006732, allocations: 101.6 kB / 297.2 MB, free: 1.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.006766, allocations: 55.41 kB / 297.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.007015, allocations: 173 kB / 297.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.007029, allocations: 25.7 kB / 297.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.007061, allocations: 92.11 kB / 297.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.007089, allocations: 31.73 kB / 297.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.007121, allocations: 25.7 kB / 297.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.007192, allocations: 322.8 kB / 297.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.007208, allocations: 14.81 kB / 297.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-05/0.007229, allocations: 29.64 kB / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.007267, allocations: 40.52 kB / 298 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.007268, allocations: 0 / 298 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.536e-05/0.007344, allocations: 72.44 kB / 298 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.007356, allocations: 11.98 kB / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.00736, allocations: 0 / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.007369, allocations: 0 / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/0.007435, allocations: 16 kB / 298.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.007438, allocations: 7.969 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.007467, allocations: 11.98 kB / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.007471, allocations: 0 / 298.1 MB, free: 0.6367 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 6.147e-05/0.007533, allocations: 120.6 kB / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.007546, allocations: 15.92 kB / 298.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.253e-05/0.007639, allocations: 71.14 kB / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.00764, allocations: 0 / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.007641, allocations: 0 / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007644, allocations: 0 / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.007848, allocations: 291.4 kB / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.00785, allocations: 3.984 kB / 298.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.007875, allocations: 11.94 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-06/0.007884, allocations: 7.953 kB / 298.6 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.007887, allocations: 4 kB / 298.6 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.007893, allocations: 4 kB / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007895, allocations: 384 / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007896, allocations: 0 / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.008014, allocations: 227 kB / 298.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.008029, allocations: 4 kB / 298.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.758e-05/0.008067, allocations: 8 kB / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.008091, allocations: 8.016 kB / 298.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.008103, allocations: 4 kB / 298.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.695e-05/0.00814, allocations: 48.34 kB / 298.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00814, allocations: 0 / 298.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.008287, allocations: 27.94 kB / 298.9 MB, free: 15.73 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.001447/0.009734, allocations: 0.6368 MB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.107e-05/0.009826, allocations: 48.69 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.009833, allocations: 4 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.937e-05/0.009862, allocations: 24.8 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.01004, allocations: 55.48 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.01051, allocations: 220.2 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.927e-05/0.01055, allocations: 67.33 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.47e-05/0.01058, allocations: 12.98 kB / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.01065, allocations: 67.36 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01065, allocations: 0 / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of Templates: time 0.00394/0.01459, allocations: 2.035 MB / 302.1 MB, free: 12.9 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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: 2.7822808399796486]