Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.0009167/0.0009167, allocations: 84.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.0009444/0.0009444, allocations: 165.6 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.9724/0.9724, allocations: 177 MB / 205.2 MB, free: 5.457 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.2906/0.2906, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.86e-05, allocations: 3.016 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002331/0.00235, allocations: 2.026 MB / 327.9 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.003648, allocations: 1.129 MB / 329.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.046e-05/0.003728, allocations: 7.938 kB / 329.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.004109, allocations: 274.9 kB / 329.4 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.004458, allocations: 266.9 kB / 329.6 MB, free: 3.457 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007181/0.005176, allocations: 0.6352 MB / 330.2 MB, free: 2.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.005462, allocations: 366.9 kB / 330.6 MB, free: 2.461 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.005591, allocations: 58.8 kB / 330.7 MB, free: 2.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.005733, allocations: 179.5 kB / 330.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.005889, allocations: 179.6 kB / 331 MB, free: 2.055 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.005909, allocations: 12 kB / 331 MB, free: 2.043 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.006005, allocations: 71.86 kB / 331.1 MB, free: 1.973 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-05/0.006102, allocations: 99.61 kB / 331.2 MB, free: 1.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.006149, allocations: 63.66 kB / 331.3 MB, free: 1.812 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.00638, allocations: 262.9 kB / 331.5 MB, free: 1.555 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.006382, allocations: 0 / 331.5 MB, free: 1.555 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006383, allocations: 4 kB / 331.5 MB, free: 1.551 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.006387, allocations: 0 / 331.5 MB, free: 1.551 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004489/0.006835, allocations: 0.5658 MB / 332.1 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.006863, allocations: 11.97 kB / 332.1 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.006905, allocations: 32.91 kB / 332.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.007118, allocations: 255.9 kB / 332.4 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.007127, allocations: 8.375 kB / 332.4 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.007151, allocations: 16.36 kB / 332.4 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.007265, allocations: 102.8 kB / 332.5 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.007275, allocations: 4.141 kB / 332.5 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.007283, allocations: 384 / 332.5 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.007288, allocations: 8.375 kB / 332.5 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.057e-05/0.007329, allocations: 28.58 kB / 332.5 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.007629, allocations: 278.7 kB / 332.8 MB, free: 176 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.225e-05/0.007701, allocations: 58.12 kB / 332.9 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.007722, allocations: 24.78 kB / 332.9 MB, free: 80 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.007739, allocations: 4 kB / 332.9 MB, free: 76 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.007757, allocations: 30.56 kB / 332.9 MB, free: 36 kB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 8.31e-07/0.007758, allocations: 0 / 332.9 MB, free: 36 kB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003876/0.008146, allocations: 215.2 kB / 333.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.008173, allocations: 55.41 kB / 333.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.008425, allocations: 424.8 kB / 333.6 MB, free: 15.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.008437, allocations: 29.69 kB / 333.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.008495, allocations: 149.7 kB / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.008527, allocations: 51.53 kB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.008564, allocations: 37.69 kB / 333.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.008649, allocations: 354.7 kB / 334.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.477e-05/0.008674, allocations: 19.98 kB / 334.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.195e-05/0.008696, allocations: 12 kB / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.912e-05/0.008755, allocations: 57.98 kB / 334.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.008756, allocations: 0 / 334.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.676e-05/0.008852, allocations: 105.5 kB / 334.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.008863, allocations: 8 kB / 334.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.008866, allocations: 0 / 334.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.008876, allocations: 3.938 kB / 334.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.06e-05/0.008957, allocations: 31.98 kB / 334.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.008961, allocations: 3.938 kB / 334.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.00899, allocations: 7.938 kB / 334.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.008999, allocations: 7.984 kB / 334.5 MB, free: 14.43 MB / 314.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 (17): * Single equations (assignments): 17 * 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.88e-05/0.009067, allocations: 128.5 kB / 334.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.009098, allocations: 27.97 kB / 334.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.009268, allocations: 148.5 kB / 334.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.00927, allocations: 0 / 334.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.009271, allocations: 0 / 334.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.009276, allocations: 7.922 kB / 334.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.009593, allocations: 378.4 kB / 335.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.009594, allocations: 0 / 335.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.009653, allocations: 31.92 kB / 335.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.009655, allocations: 4 kB / 335.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.009664, allocations: 7.922 kB / 335.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.009665, allocations: 4 kB / 335.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.009666, allocations: 0 / 335.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.009781, allocations: 202.1 kB / 335.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.009801, allocations: 27.77 kB / 335.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.00982, allocations: 11.92 kB / 335.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.156e-05/0.009862, allocations: 4 kB / 335.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.009885, allocations: 7.984 kB / 335.4 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.009891, allocations: 4 kB / 335.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.01002, allocations: 195.5 kB / 335.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01002, allocations: 0 / 335.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000162/0.01018, allocations: 51.94 kB / 335.7 MB, free: 13.16 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 (17): * Single equations (assignments): 17 * 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.001769/0.01195, allocations: 0.8996 MB / 336.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.01205, allocations: 72.61 kB / 336.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.01205, allocations: 4 kB / 336.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.065e-05/0.0121, allocations: 47.59 kB / 336.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.01233, allocations: 85.05 kB / 336.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005621/0.01289, allocations: 0.6049 MB / 337.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.967e-05/0.01296, allocations: 124.2 kB / 337.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.557e-05/0.01304, allocations: 45.91 kB / 337.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.01314, allocations: 87.36 kB / 337.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01314, allocations: 0 / 337.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of Templates: time 0.00538/0.01852, allocations: 3.773 MB / 341.4 MB, free: 7.855 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.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.9548903200775385]