Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.0008163/0.0008163, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001251/0.002068, 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.0007603/0.0007603, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000996/0.001756, 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.067/1.067, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08988/1.157, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02559/0.2909, allocations: 13.1 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/2.011e-05, allocations: 4.422 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002137/0.002157, allocations: 1.819 MB / 294.7 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003302, allocations: 1.015 MB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.408e-05/0.003366, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.003542, allocations: 59.56 kB / 295.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.003727, allocations: 83.5 kB / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.003872, allocations: 91.53 kB / 296 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.00402, allocations: 103.6 kB / 296.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.151e-05/0.004091, allocations: 4 kB / 296.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.004211, allocations: 87.73 kB / 296.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.004282, allocations: 23.92 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.004295, allocations: 4 kB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.579e-05/0.004371, allocations: 43.92 kB / 296.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.004413, allocations: 19.92 kB / 296.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.00444, allocations: 15.94 kB / 296.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.00459, allocations: 107.5 kB / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.0046, allocations: 0 / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004601, allocations: 0 / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.609e-06/0.004611, allocations: 0 / 296.4 MB, free: 2.629 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.0003996/0.00501, allocations: 333 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.736e-05/0.005037, allocations: 12.03 kB / 296.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.00507, allocations: 8.938 kB / 296.7 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.005221, allocations: 150.2 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.005235, allocations: 384 / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.005255, allocations: 16.31 kB / 296.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.615e-05/0.005351, allocations: 61.75 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.00536, allocations: 3.938 kB / 297 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.005367, allocations: 4 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.005372, allocations: 0 / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.349e-05/0.005395, allocations: 11.98 kB / 297 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.00558, allocations: 154 kB / 297.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.782e-05/0.005667, allocations: 93.2 kB / 297.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.005688, allocations: 16.92 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.005698, allocations: 7.938 kB / 297.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.189e-05/0.00578, allocations: 62.16 kB / 297.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.005781, allocations: 0 / 297.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002817/0.006062, allocations: 121.5 kB / 297.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.006099, allocations: 59.41 kB / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.766e-05/0.006197, allocations: 169.3 kB / 297.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.00621, allocations: 29.7 kB / 297.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.006241, allocations: 96.11 kB / 297.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.006266, allocations: 27.83 kB / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.006292, allocations: 21.7 kB / 297.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.006364, allocations: 330.8 kB / 298.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.006378, allocations: 10.81 kB / 298.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.0064, allocations: 29.64 kB / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.924e-05/0.006439, allocations: 36.53 kB / 298.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006441, allocations: 3.984 kB / 298.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.606e-05/0.006507, allocations: 76.44 kB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.006519, allocations: 7.984 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.006522, allocations: 0 / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.006534, allocations: 0 / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.0066, allocations: 20.03 kB / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.006603, allocations: 0 / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/0.00663, allocations: 11.98 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.006635, allocations: 0 / 298.3 MB, free: 0.5039 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.321e-05/0.006698, allocations: 124.5 kB / 298.5 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.00671, allocations: 15.92 kB / 298.5 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.193e-05/0.006802, allocations: 67.14 kB / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006805, allocations: 0 / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.006806, allocations: 0 / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.00681, allocations: 0 / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.007024, allocations: 307.4 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.007025, allocations: 0 / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.007053, allocations: 15.94 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.007064, allocations: 7.953 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.007066, allocations: 0 / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.007071, allocations: 0 / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.007074, allocations: 7.984 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.007076, allocations: 3.938 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.992e-05/0.007176, allocations: 219 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.00719, allocations: 32 / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.756e-05/0.007227, allocations: 12 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.007251, allocations: 7.984 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.007262, allocations: 384 / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.422e-05/0.007306, allocations: 51.64 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007306, allocations: 0 / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001333/0.007439, allocations: 24 kB / 299.2 MB, free: 15.59 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.001469/0.008908, allocations: 0.6466 MB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.009015, allocations: 44.75 kB / 299.9 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.009022, allocations: 4 kB / 299.9 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.575e-05/0.009057, allocations: 28.78 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.009274, allocations: 184.6 kB / 300.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.00968, allocations: 219.7 kB / 300.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.899e-05/0.009719, allocations: 75.27 kB / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.339e-05/0.009752, allocations: 12.97 kB / 300.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.009815, allocations: 63.38 kB / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of SimCode: time 6.22e-07/0.009815, allocations: 0 / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of Templates: time 0.003412/0.01323, allocations: 2.056 MB / 302.5 MB, free: 12.56 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.995287717320025]