Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007931/0.0007931, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001844, 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.0007123/0.0007123, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001715, 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.05/1.05, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09135/1.141, allocations: 53.64 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.3089/0.3089, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02666/0.3355, allocations: 13.1 MB / 291.3 MB, free: 7.363 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.828e-05, allocations: 3.078 kB / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002971/0.002999, allocations: 2.099 MB / 294.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.004626, allocations: 1.107 MB / 295.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.004748, allocations: 4 kB / 295.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.004986, allocations: 55.5 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.005266, allocations: 111.3 kB / 296.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.005555, allocations: 115.5 kB / 296.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.005809, allocations: 203.3 kB / 296.4 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.005906, allocations: 26.39 kB / 296.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.006099, allocations: 148.3 kB / 296.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.006205, allocations: 59.8 kB / 296.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.006227, allocations: 12 kB / 296.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.006329, allocations: 51.92 kB / 296.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.334e-05/0.006382, allocations: 27.88 kB / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.006433, allocations: 31.94 kB / 296.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.006822, allocations: 167.3 kB / 296.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.58e-05/0.006838, allocations: 0 / 296.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.006839, allocations: 0 / 296.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.006853, allocations: 0 / 296.9 MB, free: 1.992 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.0006435/0.007496, allocations: 495.9 kB / 297.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.007536, allocations: 8.031 kB / 297.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.007589, allocations: 20.91 kB / 297.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.007839, allocations: 173.5 kB / 297.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.007862, allocations: 8.375 kB / 297.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.007894, allocations: 12.34 kB / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.008144, allocations: 166.8 kB / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.008154, allocations: 3.938 kB / 297.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.00817, allocations: 8 kB / 297.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.008174, allocations: 0 / 297.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.624e-05/0.00824, allocations: 30.75 kB / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.008676, allocations: 390 kB / 298.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.008876, allocations: 109.2 kB / 298.3 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.008913, allocations: 24.83 kB / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.008931, allocations: 0 / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.009087, allocations: 115.9 kB / 298.4 MB, free: 324 kB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.009089, allocations: 0 / 298.4 MB, free: 324 kB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001783/0.009267, allocations: 94.41 kB / 298.5 MB, free: 224 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.009306, allocations: 59.41 kB / 298.6 MB, free: 152 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.009471, allocations: 222.6 kB / 298.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.00949, allocations: 29.7 kB / 298.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.009546, allocations: 116.9 kB / 298.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.009576, allocations: 39.67 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.009625, allocations: 33.69 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.009716, allocations: 334.7 kB / 299.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.573e-05/0.009772, allocations: 52.52 kB / 299.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.967e-05/0.009831, allocations: 73.98 kB / 299.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.009946, allocations: 117 kB / 299.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.009951, allocations: 4 kB / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001733/0.01012, allocations: 169.8 kB / 299.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/0.01017, allocations: 29.7 kB / 299.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.01018, allocations: 4 kB / 299.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.01019, allocations: 0 / 299.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.01032, allocations: 39.91 kB / 299.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.01033, allocations: 4 kB / 299.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.308e-05/0.01041, allocations: 24.06 kB / 299.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.01042, allocations: 4 kB / 299.9 MB, free: 14.76 MB / 298.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 9.174e-05/0.01051, allocations: 137 kB / 300 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.01053, allocations: 15.98 kB / 300 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.01068, allocations: 91.11 kB / 300.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01068, allocations: 0 / 300.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.01069, allocations: 0 / 300.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01069, allocations: 0 / 300.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.01082, allocations: 113.8 kB / 300.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.01082, allocations: 11.92 kB / 300.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.01125, allocations: 19.98 kB / 300.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.01127, allocations: 11.91 kB / 300.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01127, allocations: 3.984 kB / 300.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.01129, allocations: 11.94 kB / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/0.0113, allocations: 3.938 kB / 300.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.0113, allocations: 0 / 300.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.01148, allocations: 140.1 kB / 300.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.01151, allocations: 8 kB / 300.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.444e-05/0.01157, allocations: 16.02 kB / 300.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.01162, allocations: 15.97 kB / 300.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.01163, allocations: 7.984 kB / 300.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.915e-05/0.01169, allocations: 70.61 kB / 300.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01169, allocations: 0 / 300.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.01186, allocations: 39.94 kB / 300.6 MB, free: 14 MB / 298.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.001317/0.01318, allocations: 0.5555 MB / 301.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.01338, allocations: 153.6 kB / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.01339, allocations: 4 kB / 301.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.35e-05/0.01344, allocations: 40.78 kB / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.01364, allocations: 70.95 kB / 301.4 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006608/0.0143, allocations: 315.1 kB / 301.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.248e-05/0.01435, allocations: 75.98 kB / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.903e-05/0.01442, allocations: 17.73 kB / 301.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.01454, allocations: 91.34 kB / 301.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of SimCode: time 1.343e-06/0.01454, allocations: 0 / 301.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of Templates: time 0.005465/0.02001, allocations: 3.277 MB / 305.1 MB, free: 9.711 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.910238502547145]