Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.00141/0.00141, 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.0009709/0.0009709, allocations: 161 kB / 24.55 MB, free: 20 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.9691/0.9691, allocations: 177.2 MB / 205 MB, free: 5.641 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.2863/0.2863, allocations: 32.81 MB / 294.3 MB, free: 1.297 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.CombiTable1Ds.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.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.821e-05, allocations: 2.312 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002652/0.00268, allocations: 1.672 MB / 377.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008667/0.003547, allocations: 0.5337 MB / 378.2 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.00361, allocations: 0 / 378.2 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.003912, allocations: 91.67 kB / 378.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.004194, allocations: 119.5 kB / 378.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.004436, allocations: 95.62 kB / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.004595, allocations: 79.77 kB / 378.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.004707, allocations: 19.91 kB / 378.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.004775, allocations: 39.91 kB / 378.7 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.729e-05/0.004872, allocations: 59.86 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.004889, allocations: 4 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.801e-05/0.004977, allocations: 43.92 kB / 378.8 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.005035, allocations: 27.91 kB / 378.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.005067, allocations: 11.94 kB / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.005247, allocations: 95.59 kB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.005251, allocations: 0 / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.005252, allocations: 0 / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.005259, allocations: 4 kB / 378.9 MB, free: 1.766 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.0004676/0.005726, allocations: 451.8 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.005766, allocations: 8.031 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.005814, allocations: 16.83 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.005974, allocations: 152.4 kB / 379.5 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.005984, allocations: 4.312 kB / 379.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.006012, allocations: 8.375 kB / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.006163, allocations: 58.94 kB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.006175, allocations: 192 / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.006188, allocations: 8.125 kB / 379.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.006197, allocations: 4 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.518e-05/0.006232, allocations: 7.984 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.006603, allocations: 295.7 kB / 379.9 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.161e-05/0.006674, allocations: 43.03 kB / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.006701, allocations: 23.7 kB / 380 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.006726, allocations: 4 kB / 380 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.006748, allocations: 37.39 kB / 380 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.006749, allocations: 3.938 kB / 380 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005716/0.00732, allocations: 169.3 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.007351, allocations: 51.41 kB / 380.2 MB, free: 304 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.007506, allocations: 249.9 kB / 380.5 MB, free: 36 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.007517, allocations: 25.7 kB / 380.5 MB, free: 4 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.007601, allocations: 162.8 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.00763, allocations: 27.75 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.007669, allocations: 31.36 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.007809, allocations: 0.504 MB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.00783, allocations: 4 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.069e-05/0.007851, allocations: 11.98 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.243e-05/0.007903, allocations: 35.91 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.007904, allocations: 0 / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001074/0.008012, allocations: 81.56 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.00803, allocations: 4 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.008037, allocations: 0 / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.008062, allocations: 0 / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.008155, allocations: 23.98 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.008162, allocations: 0 / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.008185, allocations: 0 / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.008193, allocations: 7.938 kB / 381.4 MB, free: 15.08 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.201e-05/0.008265, allocations: 168.4 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.008291, allocations: 15.91 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.008442, allocations: 87.14 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.008445, allocations: 0 / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.00845, allocations: 4 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.008454, allocations: 0 / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.008774, allocations: 384.9 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.008776, allocations: 4 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.008827, allocations: 15.98 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.00883, allocations: 0 / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.00884, allocations: 4 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.008842, allocations: 7.938 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.008843, allocations: 0 / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.008979, allocations: 231.5 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.008992, allocations: 11.94 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.009005, allocations: 0 / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.862e-05/0.009044, allocations: 12.03 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.009083, allocations: 11.92 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.009087, allocations: 0 / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.009199, allocations: 179.2 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009199, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.009374, allocations: 15.94 kB / 382.5 MB, free: 13.87 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.0009752/0.01035, allocations: 443.2 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.01047, allocations: 39.67 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.01047, allocations: 4 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.01051, allocations: 35.61 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.01076, allocations: 18.17 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.01116, allocations: 245.7 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.606e-05/0.01121, allocations: 67.33 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.755e-05/0.01125, allocations: 17.03 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.01128, allocations: 20.56 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01128, allocations: 0 / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Templates: time 0.003532/0.01481, allocations: 1.387 MB / 384.8 MB, free: 11.71 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/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.402166566811502]