Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.0008548/0.0008548, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001362/0.002217, 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.0007936/0.0007936, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009617/0.001755, 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 0.9419/0.9419, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08759/1.03, 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.2653/0.2653, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02644/0.2918, allocations: 13.11 MB / 291.5 MB, free: 7.324 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 292.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.146e-05, allocations: 6.141 kB / 292.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.005721/0.005743, allocations: 1.987 MB / 294.9 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.007295, allocations: 1.111 MB / 296 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.78e-05/0.007383, allocations: 11.94 kB / 296.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.007731, allocations: 227.2 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.008083, allocations: 219 kB / 296.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.008357, allocations: 119.5 kB / 296.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00331/0.01167, allocations: 263.2 kB / 296.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.01176, allocations: 22.61 kB / 296.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.01202, allocations: 204.8 kB / 297.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.01219, allocations: 139.6 kB / 297.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.01222, allocations: 8 kB / 297.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.01235, allocations: 67.91 kB / 297.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.962e-05/0.01242, allocations: 55.8 kB / 297.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.01247, allocations: 35.81 kB / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.0128, allocations: 183.2 kB / 297.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.351e-05/0.01282, allocations: 0 / 297.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01282, allocations: 0 / 297.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.01283, allocations: 4 kB / 297.6 MB, free: 1.449 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005679/0.01339, allocations: 0.5231 MB / 298.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.01343, allocations: 12.03 kB / 298.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.01348, allocations: 16.92 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.0137, allocations: 217.8 kB / 298.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.01372, allocations: 4.375 kB / 298.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.01374, allocations: 4.375 kB / 298.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.0139, allocations: 116.7 kB / 298.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.01392, allocations: 3.938 kB / 298.5 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.01393, allocations: 12 kB / 298.5 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.01393, allocations: 0 / 298.5 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.265e-05/0.01399, allocations: 29.62 kB / 298.5 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.0143, allocations: 308.9 kB / 298.8 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/0.01754, allocations: 174.6 kB / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.111e-05/0.01758, allocations: 41.83 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.01759, allocations: 0 / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.01774, allocations: 109.2 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.22e-07/0.01774, allocations: 0 / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.000828/0.01857, allocations: 335.1 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.0186, allocations: 81.11 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.01885, allocations: 332.6 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.01887, allocations: 29.7 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.01893, allocations: 117.6 kB / 300 MB, free: 14.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.01899, allocations: 79.39 kB / 300.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.01904, allocations: 41.69 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.01913, allocations: 346.7 kB / 300.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.052e-05/0.01917, allocations: 26.81 kB / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.01923, allocations: 58.03 kB / 300.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.01934, allocations: 109.5 kB / 300.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.01934, allocations: 0 / 300.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001702/0.01951, allocations: 136.2 kB / 300.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.01953, allocations: 8.062 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01953, allocations: 3.938 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.01954, allocations: 4 kB / 300.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.01967, allocations: 47.91 kB / 300.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.01967, allocations: 4.938 kB / 300.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.01973, allocations: 11.94 kB / 300.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.01974, allocations: 8 kB / 300.9 MB, free: 13.92 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.383e-05/0.01983, allocations: 129.1 kB / 301 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.01986, allocations: 23.98 kB / 301 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.02007, allocations: 169 kB / 301.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.02008, allocations: 4 kB / 301.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.02008, allocations: 0 / 301.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.02008, allocations: 0 / 301.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.02357, allocations: 0.5554 MB / 301.7 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.02358, allocations: 7.984 kB / 301.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.866e-05/0.02367, allocations: 39.92 kB / 301.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.0237, allocations: 35.73 kB / 301.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.02371, allocations: 128 / 301.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.02372, allocations: 12 kB / 301.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.02373, allocations: 4 kB / 301.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.02373, allocations: 0 / 301.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.02398, allocations: 416.5 kB / 302.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.02401, allocations: 8 kB / 302.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.02413, allocations: 11.98 kB / 302.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.02417, allocations: 19.97 kB / 302.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.02419, allocations: 12 kB / 302.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.02433, allocations: 139.4 kB / 302.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02433, allocations: 4 kB / 302.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003013/0.02463, allocations: 55.92 kB / 302.5 MB, free: 12.21 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.004944/0.02957, allocations: 0.726 MB / 303.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.02978, allocations: 100.7 kB / 303.3 MB, free: 11.78 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/0.0298, allocations: 7.984 kB / 303.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.02989, allocations: 72.98 kB / 303.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.03039, allocations: 363.4 kB / 303.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008185/0.03121, allocations: 0.4957 MB / 304.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.142e-05/0.03129, allocations: 100.3 kB / 304.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.916e-05/0.03138, allocations: 38.2 kB / 304.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.03151, allocations: 95.34 kB / 304.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03151, allocations: 0 / 304.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of Templates: time 0.009644/0.04115, allocations: 3.71 MB / 308.2 MB, free: 6.852 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.9630444273352623]