Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.082/1.082, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3103/0.3103, allocations: 34.87 MB / 296.3 MB, free: 0.5625 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 3.938 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.411e-05/3.607e-05, allocations: 2.312 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002603/0.002639, allocations: 1.639 MB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008361/0.003475, allocations: 0.5526 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.003536, allocations: 0 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.003814, allocations: 83.64 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.004095, allocations: 103.5 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.004352, allocations: 115.6 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.004521, allocations: 87.69 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.004635, allocations: 11.98 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.66e-05/0.004712, allocations: 47.89 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.004815, allocations: 51.88 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.004832, allocations: 0 / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.719e-05/0.004919, allocations: 47.92 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.004976, allocations: 27.91 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.005006, allocations: 7.938 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.00519, allocations: 103.6 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.005194, allocations: 0 / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.005195, allocations: 0 / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.005202, allocations: 3.938 kB / 381.7 MB, free: 15.18 MB / 362.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.0004409/0.005643, allocations: 435.9 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.005685, allocations: 12.03 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.005735, allocations: 16.83 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.005902, allocations: 149.1 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.005912, allocations: 384 / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.005941, allocations: 12.36 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.006074, allocations: 62.88 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.006086, allocations: 4.188 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.006096, allocations: 4.375 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.006104, allocations: 384 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.451e-05/0.006139, allocations: 11.94 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.00648, allocations: 295.7 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.471e-05/0.006555, allocations: 42.98 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.006581, allocations: 15.69 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.006603, allocations: 4.078 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.006625, allocations: 41.33 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.006626, allocations: 4 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005989/0.007225, allocations: 169.3 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.007254, allocations: 51.41 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.007472, allocations: 242.4 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.007484, allocations: 33.64 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.007541, allocations: 150.9 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.007568, allocations: 27.75 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.007602, allocations: 27.38 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.007711, allocations: 0.4962 MB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.45e-05/0.007735, allocations: 19.92 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.893e-05/0.007754, allocations: 8 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.066e-05/0.007805, allocations: 35.67 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.007806, allocations: 0 / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.3e-05/0.007899, allocations: 85.52 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.007913, allocations: 4 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.007918, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.007933, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.027e-05/0.008023, allocations: 23.92 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.008028, allocations: 320 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.008047, allocations: 4 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.008054, allocations: 4 kB / 384.1 MB, free: 12.52 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 6.744e-05/0.008122, allocations: 156.6 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.008145, allocations: 19.84 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.008293, allocations: 95.11 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.008295, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.008299, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.008301, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.008606, allocations: 376.9 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.008609, allocations: 4.438 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.008655, allocations: 20 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.008658, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.008665, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.008669, allocations: 8 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.00867, allocations: 0 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.008801, allocations: 247.4 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.008814, allocations: 11.94 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.008827, allocations: 0 / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.648e-05/0.008864, allocations: 4 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.008899, allocations: 7.984 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.008905, allocations: 11.94 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.942e-05/0.008984, allocations: 167.2 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008984, allocations: 0 / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.009159, allocations: 31.86 kB / 385.3 MB, free: 11.29 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.0009408/0.0101, allocations: 425.9 kB / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.01022, allocations: 47.59 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01022, allocations: 0 / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.287e-05/0.01026, allocations: 31.66 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.01049, allocations: 28 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.01089, allocations: 233.8 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.59e-05/0.01094, allocations: 71.33 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.603e-05/0.01099, allocations: 16.72 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.01102, allocations: 16.48 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01102, allocations: 0 / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of Templates: time 0.003358/0.01438, allocations: 1.401 MB / 387.5 MB, free: 9.121 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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.4155158600769937]