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.001205/0.001205, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001783/0.002988, 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.001086/0.001086, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002517, 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.023/1.023, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08755/1.111, allocations: 53.65 MB / 243.4 MB, free: 15.52 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.2666/0.2666, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02717/0.2938, allocations: 13.11 MB / 291.5 MB, free: 7.332 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.342e-06/1.342e-06, allocations: 0 / 292.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.515e-05, allocations: 4.406 kB / 292.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.0023/0.002315, allocations: 2.1 MB / 295 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.003678, allocations: 1.111 MB / 296.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.923e-05/0.003768, allocations: 0 / 296.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.003967, allocations: 59.44 kB / 296.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.004192, allocations: 115.3 kB / 296.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.004402, allocations: 115.5 kB / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.004614, allocations: 203.3 kB / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.004704, allocations: 34.31 kB / 296.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.004871, allocations: 140.4 kB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.728e-05/0.004969, allocations: 59.8 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.004991, allocations: 12 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.538e-05/0.005077, allocations: 55.86 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.005129, allocations: 31.88 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.005175, allocations: 35.88 kB / 297 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.005382, allocations: 159.4 kB / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.005393, allocations: 0 / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005394, allocations: 0 / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.005406, allocations: 0 / 297.1 MB, free: 1.902 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.0005912/0.005997, allocations: 495.9 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.006026, allocations: 8.031 kB / 297.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.006073, allocations: 20.91 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.006259, allocations: 177.4 kB / 297.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.006275, allocations: 8.375 kB / 297.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.006298, allocations: 8.359 kB / 297.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.006491, allocations: 160.5 kB / 298 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.0065, allocations: 3.938 kB / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.006511, allocations: 8 kB / 298 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.006517, allocations: 0 / 298 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.004e-05/0.006567, allocations: 31.73 kB / 298 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.00691, allocations: 394 kB / 298.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.007098, allocations: 109.3 kB / 298.5 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.00713, allocations: 24.83 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.007145, allocations: 4 kB / 298.5 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.007277, allocations: 119.8 kB / 298.7 MB, free: 228 kB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.007278, allocations: 4 kB / 298.7 MB, free: 224 kB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001566/0.007435, allocations: 91.89 kB / 298.8 MB, free: 128 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.007463, allocations: 55.41 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.007603, allocations: 222.6 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.007621, allocations: 25.7 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.007673, allocations: 116.9 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.007698, allocations: 35.67 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.007739, allocations: 37.69 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.007818, allocations: 334.7 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.204e-05/0.00786, allocations: 52.52 kB / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.876e-05/0.007909, allocations: 77.92 kB / 299.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.433e-05/0.007993, allocations: 114.4 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.007996, allocations: 4 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001291/0.008125, allocations: 167.8 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.008156, allocations: 33.7 kB / 300 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.008159, allocations: 0 / 300 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.008173, allocations: 7.984 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.008265, allocations: 32.11 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.008268, allocations: 4 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.008339, allocations: 23.94 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.008349, allocations: 8 kB / 300.1 MB, free: 14.67 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 7.739e-05/0.008427, allocations: 133 kB / 300.2 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.008445, allocations: 23.92 kB / 300.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.008558, allocations: 87.11 kB / 300.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.00856, allocations: 0 / 300.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.008561, allocations: 7.938 kB / 300.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.008564, allocations: 4 kB / 300.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.776e-05/0.008652, allocations: 113.8 kB / 300.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.008654, allocations: 3.938 kB / 300.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.008716, allocations: 19.98 kB / 300.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.008731, allocations: 11.91 kB / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.008732, allocations: 4 kB / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.00874, allocations: 0 / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.008741, allocations: 0 / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008742, allocations: 0 / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.008891, allocations: 148.6 kB / 300.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.008909, allocations: 11.97 kB / 300.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.244e-05/0.008962, allocations: 19.97 kB / 300.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.009, allocations: 11.98 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.009011, allocations: 3.984 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.462e-05/0.009065, allocations: 74.23 kB / 300.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009065, allocations: 0 / 300.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001368/0.009202, allocations: 39.94 kB / 300.8 MB, free: 13.91 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.00112/0.01032, allocations: 0.5601 MB / 301.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.01052, allocations: 157.8 kB / 301.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.01053, allocations: 4 kB / 301.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.418e-05/0.01059, allocations: 48.77 kB / 301.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.01085, allocations: 367.5 kB / 301.9 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.01139, allocations: 307.2 kB / 302.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.07e-05/0.01143, allocations: 75.98 kB / 302.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.728e-05/0.01149, allocations: 21.48 kB / 302.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.01159, allocations: 91.33 kB / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01159, allocations: 0 / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of Templates: time 0.004724/0.01632, allocations: 3.268 MB / 305.7 MB, free: 9.254 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.026744084432721]