Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.0008224/0.0008224, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.000906/0.000906, allocations: 160.2 kB / 24.91 MB, free: 8.77 MB / 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 0.927/0.927, allocations: 177 MB / 205.2 MB, free: 5.062 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.3052/0.3052, allocations: 34.86 MB / 296.6 MB, free: 480 kB / 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.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.824e-05, allocations: 9.406 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002723/0.002751, allocations: 1.695 MB / 327.6 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000726/0.003477, allocations: 0.8026 MB / 328.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.301e-05/0.00351, allocations: 0 / 328.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.003727, allocations: 31.83 kB / 328.5 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.003915, allocations: 47.72 kB / 328.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.506e-06/0.003919, allocations: 0 / 328.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.004041, allocations: 35.83 kB / 328.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.004074, allocations: 4 kB / 328.5 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.00415, allocations: 7.984 kB / 328.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.899e-05/0.004179, allocations: 19.91 kB / 328.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.004187, allocations: 0 / 328.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.666e-05/0.004234, allocations: 12 kB / 328.6 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.004276, allocations: 23.92 kB / 328.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.587e-05/0.004291, allocations: 4 kB / 328.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.004401, allocations: 59.64 kB / 328.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004403, allocations: 0 / 328.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004403, allocations: 0 / 328.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.004407, allocations: 0 / 328.7 MB, free: 4.402 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002458/0.004652, allocations: 266.8 kB / 328.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.004684, allocations: 12.03 kB / 328.9 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.00471, allocations: 4.938 kB / 328.9 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.004817, allocations: 129.6 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-06/0.004823, allocations: 384 / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.004831, allocations: 12.38 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/0.004922, allocations: 90.2 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.004929, allocations: 4.125 kB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.004935, allocations: 384 / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.004971, allocations: 24.36 kB / 329.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.693e-05/0.004998, allocations: 35.22 kB / 329.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.005319, allocations: 0.7755 MB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.888e-05/0.005368, allocations: 165.1 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.005388, allocations: 84.14 kB / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.005404, allocations: 79.31 kB / 330.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.005431, allocations: 113.8 kB / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 6.11e-07/0.005432, allocations: 0 / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 3.944e-05/0.005471, allocations: 29.7 kB / 330.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.005511, allocations: 130.7 kB / 330.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.005602, allocations: 177.2 kB / 330.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.005608, allocations: 25.7 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.005662, allocations: 147.5 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-06/0.005667, allocations: 7.984 kB / 330.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.0057, allocations: 41.66 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.068e-05/0.005771, allocations: 318.8 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.005782, allocations: 12 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.005847, allocations: 147.4 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.914e-05/0.005946, allocations: 167.8 kB / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005948, allocations: 0 / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001296/0.006078, allocations: 149.1 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.006094, allocations: 9.25 kB / 331.8 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.0061, allocations: 4.625 kB / 331.8 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.006111, allocations: 4 kB / 331.8 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.006183, allocations: 43.92 kB / 331.8 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.006189, allocations: 7.938 kB / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.006232, allocations: 19.89 kB / 331.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.006241, allocations: 8 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.103e-05/0.006312, allocations: 207.8 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.006347, allocations: 108.9 kB / 332.2 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.006385, allocations: 112.8 kB / 332.3 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.615e-05/0.006421, allocations: 180.3 kB / 332.5 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.869e-05/0.00646, allocations: 184.3 kB / 332.6 MB, free: 76 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.507e-05/0.006515, allocations: 188.2 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.006639, allocations: 333.3 kB / 333.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/0.00666, allocations: 101 kB / 333.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.006681, allocations: 105 kB / 333.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-05/0.00672, allocations: 188.2 kB / 333.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.006759, allocations: 180.2 kB / 333.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.555e-05/0.006794, allocations: 184.2 kB / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.629e-05/0.00683, allocations: 180.3 kB / 334.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.913e-05/0.00691, allocations: 311.7 kB / 334.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.006938, allocations: 108.9 kB / 334.5 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.006985, allocations: 192.2 kB / 334.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.007089, allocations: 105 kB / 334.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.007128, allocations: 180.3 kB / 334.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.007238, allocations: 104.9 kB / 335 MB, free: 13.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.782e-05/0.007265, allocations: 33.69 kB / 335.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007266, allocations: 0 / 335.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.007412, allocations: 19.95 kB / 335.1 MB, free: 13.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0004808/0.007893, allocations: 286.9 kB / 335.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.939e-05/0.007972, allocations: 69.08 kB / 335.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.007978, allocations: 0 / 335.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.007979, allocations: 0 / 335.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.00821, allocations: 464.6 kB / 335.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.008447, allocations: 248.8 kB / 336.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.51e-05/0.008482, allocations: 63.84 kB / 336.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.476e-05/0.008527, allocations: 13.95 kB / 336.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.008565, allocations: 63.36 kB / 336.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008565, allocations: 0 / 336.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of Templates: time 0.002157/0.01072, allocations: 0.7748 MB / 337 MB, free: 11.56 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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: 2.8865790418349206]