Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001149/0.001149, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00125/0.00125, allocations: 170.7 kB / 25 MB, free: 8.797 MB / 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 1.065/1.065, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2606/0.2606, allocations: 32.81 MB / 294.6 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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.687e-05, allocations: 5.828 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002406/0.002433, allocations: 1.724 MB / 377.7 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007461/0.003179, allocations: 0.5491 MB / 378.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.00324, allocations: 0 / 378.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.003481, allocations: 67.77 kB / 378.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.003771, allocations: 103.5 kB / 378.5 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.004048, allocations: 135.5 kB / 378.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.004201, allocations: 87.75 kB / 378.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.004298, allocations: 16.22 kB / 378.7 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.004368, allocations: 51.81 kB / 378.7 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.796e-05/0.004456, allocations: 47.88 kB / 378.8 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.00447, allocations: 4 kB / 378.8 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.64e-05/0.004557, allocations: 51.92 kB / 378.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-05/0.004621, allocations: 23.92 kB / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.004648, allocations: 27.91 kB / 378.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.004808, allocations: 99.53 kB / 379 MB, free: 1.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.004812, allocations: 4 kB / 379 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004812, allocations: 0 / 379 MB, free: 1.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.004817, allocations: 0 / 379 MB, free: 1.973 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005236/0.00534, allocations: 443.9 kB / 379.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.005375, allocations: 8.031 kB / 379.4 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.005424, allocations: 20.84 kB / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.005564, allocations: 149.1 kB / 379.6 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.005575, allocations: 4.375 kB / 379.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.005595, allocations: 384 / 379.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.005728, allocations: 78.88 kB / 379.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.005739, allocations: 4.141 kB / 379.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.00575, allocations: 4.125 kB / 379.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.005758, allocations: 0 / 379.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.766e-05/0.005795, allocations: 11.98 kB / 379.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.006106, allocations: 307.6 kB / 380 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.006282, allocations: 50.98 kB / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.681e-05/0.006309, allocations: 15.81 kB / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.006327, allocations: 0 / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.00635, allocations: 49.38 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.006351, allocations: 0 / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006857/0.007037, allocations: 245.6 kB / 380.4 MB, free: 484 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.007068, allocations: 51.41 kB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.0072, allocations: 238.4 kB / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.007211, allocations: 25.7 kB / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.007278, allocations: 158.9 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.007308, allocations: 39.64 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.007343, allocations: 31.38 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.007455, allocations: 0.5 MB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.828e-05/0.007483, allocations: 11.98 kB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.007508, allocations: 15.98 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.599e-05/0.007574, allocations: 51.56 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.007574, allocations: 0 / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001054/0.00768, allocations: 97.61 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.007691, allocations: 4 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.007695, allocations: 0 / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.007708, allocations: 4 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.007772, allocations: 23.98 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007777, allocations: 0 / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/0.007801, allocations: 7.953 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-06/0.007809, allocations: 11.94 kB / 381.6 MB, free: 15.14 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 (11): * Single equations (assignments): 11 * 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.572e-05/0.007875, allocations: 160.5 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.007897, allocations: 19.94 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.008049, allocations: 111 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.008051, allocations: 0 / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.008054, allocations: 4 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.008057, allocations: 0 / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.008384, allocations: 428.5 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008386, allocations: 0 / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.077e-05/0.008437, allocations: 23.92 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.008439, allocations: 4 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.008446, allocations: 0 / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.00845, allocations: 7.938 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.008451, allocations: 0 / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.008609, allocations: 267.9 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.008619, allocations: 11.95 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.008634, allocations: 8 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.264e-05/0.008677, allocations: 11.92 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.008715, allocations: 15.92 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.008721, allocations: 4 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.899e-05/0.00881, allocations: 163.2 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00881, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.008986, allocations: 24 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008698/0.009856, allocations: 433.4 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.009984, allocations: 63.53 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.009985, allocations: 0 / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.01003, allocations: 39.61 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.01026, allocations: 27.94 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.01067, allocations: 269.1 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.202e-05/0.01072, allocations: 79.45 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.073e-05/0.01076, allocations: 16.47 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.01079, allocations: 16.5 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01079, allocations: 0 / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of Templates: time 0.003324/0.01411, allocations: 1.593 MB / 385.4 MB, free: 11.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.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.1606710460036993]