Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001057/0.001057, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001782/0.001782, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.9796/0.9796, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2571/0.2571, allocations: 32.81 MB / 294.3 MB, free: 1.301 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.249e-05, allocations: 2.312 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002417/0.00245, allocations: 1.665 MB / 377.7 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007906/0.00324, allocations: 0.5414 MB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.003303, allocations: 3.938 kB / 378.2 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.003599, allocations: 95.67 kB / 378.3 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.003881, allocations: 111.5 kB / 378.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.004182, allocations: 115.6 kB / 378.6 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.004346, allocations: 83.7 kB / 378.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.004448, allocations: 15.97 kB / 378.7 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.004511, allocations: 47.89 kB / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.943e-05/0.004601, allocations: 51.88 kB / 378.8 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.004616, allocations: 4 kB / 378.8 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-05/0.004707, allocations: 47.92 kB / 378.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.004757, allocations: 27.91 kB / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.004788, allocations: 11.94 kB / 378.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.004969, allocations: 103.5 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.004972, allocations: 0 / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004973, allocations: 0 / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.004977, allocations: 0 / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004326/0.00541, allocations: 447.8 kB / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.005447, allocations: 12.03 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.005493, allocations: 12.89 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.005635, allocations: 152.4 kB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.005649, allocations: 8.375 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.005674, allocations: 4.359 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.005794, allocations: 62.89 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.005804, allocations: 192 / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.005815, allocations: 4.125 kB / 379.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.005823, allocations: 0 / 379.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.005863, allocations: 11.98 kB / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.006187, allocations: 295.7 kB / 379.9 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.895e-05/0.006256, allocations: 50.97 kB / 380 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.006282, allocations: 23.56 kB / 380 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.006304, allocations: 0 / 380 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.006325, allocations: 41.39 kB / 380 MB, free: 0.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.006326, allocations: 0 / 380 MB, free: 0.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.00055/0.006876, allocations: 169.4 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.006905, allocations: 55.39 kB / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.007064, allocations: 253.9 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.007076, allocations: 25.7 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.007132, allocations: 158.8 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.007161, allocations: 31.73 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.007196, allocations: 27.38 kB / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.007314, allocations: 0.5 MB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.00734, allocations: 15.98 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/0.007358, allocations: 4 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.283e-05/0.007411, allocations: 43.89 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.007412, allocations: 0 / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001076/0.00752, allocations: 73.62 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.007536, allocations: 8 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.007541, allocations: 0 / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.007559, allocations: 7.938 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.069e-05/0.007649, allocations: 15.98 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.007655, allocations: 0 / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.007676, allocations: 4 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.007682, allocations: 0 / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.544e-05/0.007757, allocations: 164.5 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.007792, allocations: 15.91 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.007956, allocations: 95.06 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.007959, allocations: 0 / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.007962, allocations: 0 / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.007967, allocations: 8 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.008279, allocations: 380.9 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.008281, allocations: 3.938 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.008325, allocations: 16 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.008328, allocations: 0 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.008337, allocations: 7.984 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.008339, allocations: 0 / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.00834, allocations: 4 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.008466, allocations: 239.4 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.008478, allocations: 7.953 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.00849, allocations: 4.031 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.008529, allocations: 11.98 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.008559, allocations: 7.938 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.008562, allocations: 0 / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.706e-05/0.008639, allocations: 179.1 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008639, allocations: 0 / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.00882, allocations: 23.94 kB / 382.6 MB, free: 13.82 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009228/0.009743, allocations: 428.8 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.009877, allocations: 47.61 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.009879, allocations: 0 / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.009918, allocations: 39.59 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.01014, allocations: 23.92 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.01052, allocations: 245.7 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.01056, allocations: 75.33 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.01062, allocations: 25.08 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.01064, allocations: 12.5 kB / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01065, allocations: 0 / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of Templates: time 0.003167/0.01381, allocations: 1.416 MB / 384.9 MB, free: 11.63 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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: 3.2900786558166146]