Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.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.001813/0.001813, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002231/0.002231, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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.574/1.574, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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.2288/0.2288, allocations: 34.27 MB / 294.8 MB, free: 14.51 MB / 286.1 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.991e-05, allocations: 6.219 kB / 442.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003498/0.003528, allocations: 1.672 MB / 444.4 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.004709, allocations: 0.5369 MB / 444.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.004782, allocations: 8 kB / 444.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.005042, allocations: 63.66 kB / 445 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.005388, allocations: 95.53 kB / 445.1 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.005787, allocations: 127.5 kB / 445.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.005976, allocations: 95.67 kB / 445.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.006077, allocations: 16.23 kB / 445.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.043e-05/0.006167, allocations: 43.88 kB / 445.3 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.006285, allocations: 47.88 kB / 445.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.006305, allocations: 4 kB / 445.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.006419, allocations: 47.92 kB / 445.4 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.006498, allocations: 27.86 kB / 445.5 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.006532, allocations: 19.92 kB / 445.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.006752, allocations: 115.5 kB / 445.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006755, allocations: 0 / 445.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006756, allocations: 0 / 445.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.006764, allocations: 8 kB / 445.6 MB, free: 2.328 MB / 366.1 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.0005781/0.007342, allocations: 337.6 kB / 445.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.007389, allocations: 12.03 kB / 445.9 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.007436, allocations: 12.89 kB / 446 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.007647, allocations: 141.5 kB / 446.1 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.007659, allocations: 4.312 kB / 446.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.007686, allocations: 4.375 kB / 446.1 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.007929, allocations: 62.22 kB / 446.2 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.007945, allocations: 192 / 446.2 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.007962, allocations: 8.375 kB / 446.2 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.007968, allocations: 4.375 kB / 446.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.008195, allocations: 35.91 kB / 446.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.008635, allocations: 244.4 kB / 446.5 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.008894, allocations: 50.55 kB / 446.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.009006, allocations: 28.97 kB / 446.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.009029, allocations: 0 / 446.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.009069, allocations: 46.53 kB / 446.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.00907, allocations: 4 kB / 446.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001668/0.01074, allocations: 389 kB / 447 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.01079, allocations: 59.34 kB / 447 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.01101, allocations: 187.1 kB / 447.2 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.01104, allocations: 29.7 kB / 447.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.01112, allocations: 112.1 kB / 447.3 MB, free: 452 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.01116, allocations: 35.69 kB / 447.4 MB, free: 416 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.01122, allocations: 25.7 kB / 447.4 MB, free: 384 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.01139, allocations: 330.8 kB / 447.7 MB, free: 44 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.01152, allocations: 35.97 kB / 447.8 MB, free: 8 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2103/0.2218, allocations: 41.56 kB / 447.8 MB, free: 18.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.2221, allocations: 99.8 kB / 447.9 MB, free: 18.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2221, allocations: 0 / 447.9 MB, free: 18.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003636/0.2225, allocations: 149 kB / 448 MB, free: 18.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2225, allocations: 12.12 kB / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2225, allocations: 0 / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.2225, allocations: 1.859 kB / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2227, allocations: 29.64 kB / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2227, allocations: 0 / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.334e-05/0.2227, allocations: 9.984 kB / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.2228, allocations: 5.969 kB / 448.1 MB, free: 18.93 MB / 366.1 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 9.09e-05/0.2228, allocations: 133.2 kB / 448.2 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.2229, allocations: 12.94 kB / 448.2 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.2233, allocations: 165 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2233, allocations: 0.9688 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2233, allocations: 1.156 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2233, allocations: 3.047 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006027/0.2239, allocations: 404.1 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2239, allocations: 2.141 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.224, allocations: 29.69 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.224, allocations: 1.766 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.224, allocations: 2.219 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.224, allocations: 5.75 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2241, allocations: 3.5 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.2244, allocations: 246.2 kB / 449.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.2244, allocations: 12.92 kB / 449.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.2244, allocations: 8.125 kB / 449.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.2245, allocations: 14 kB / 449.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.2246, allocations: 10.91 kB / 449.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.2246, allocations: 4.438 kB / 449.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.2247, allocations: 144.5 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2247, allocations: 0 / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.225, allocations: 30.78 kB / 449.3 MB, free: 18.28 MB / 366.1 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.001844/0.2268, allocations: 484.2 kB / 449.8 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003533/0.2272, allocations: 104.8 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2272, allocations: 0 / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.2273, allocations: 61.98 kB / 449.9 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.2277, allocations: 18.56 kB / 450 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006269/0.2284, allocations: 285.9 kB / 450.2 MB, free: 17.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.992e-05/0.2285, allocations: 95.62 kB / 450.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.111e-05/0.2285, allocations: 17.17 kB / 450.4 MB, free: 17.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.2286, allocations: 17.83 kB / 450.4 MB, free: 17.79 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2286, allocations: 0 / 450.4 MB, free: 17.79 MB / 366.1 MB Notification: Performance of Templates: time 0.005096/0.2337, allocations: 1.559 MB / 451.9 MB, free: 17.6 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.055005315691233]