Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.00166/0.00166, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.001653/0.001653, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.565/1.565, allocations: 177 MB / 204.1 MB, free: 9.184 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.224/0.224, allocations: 34.26 MB / 294.8 MB, free: 14.55 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.148e-06/4.148e-06, allocations: 3.984 kB / 442.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.963e-05, allocations: 4.672 kB / 442.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.00322/0.00325, allocations: 1.661 MB / 444.3 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.004341, allocations: 0.7674 MB / 445.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.004376, allocations: 0 / 445.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.004623, allocations: 27.89 kB / 445.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.004864, allocations: 51.7 kB / 445.2 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.328e-06/0.004869, allocations: 0 / 445.2 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.005021, allocations: 31.84 kB / 445.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.005067, allocations: 7.984 kB / 445.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.005104, allocations: 12 kB / 445.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.005172, allocations: 15.91 kB / 445.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.005185, allocations: 0 / 445.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.359e-05/0.005238, allocations: 15.94 kB / 445.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.005295, allocations: 19.92 kB / 445.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.005323, allocations: 11.94 kB / 445.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.005475, allocations: 63.73 kB / 445.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.005478, allocations: 0 / 445.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005478, allocations: 0 / 445.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.005487, allocations: 3.938 kB / 445.4 MB, free: 2.609 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003959/0.005883, allocations: 290 kB / 445.6 MB, free: 2.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.00592, allocations: 8.031 kB / 445.6 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.00596, allocations: 12.89 kB / 445.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.006118, allocations: 117.7 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.006125, allocations: 384 / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.006142, allocations: 4.375 kB / 445.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.006352, allocations: 123.3 kB / 445.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.006362, allocations: 192 / 445.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.006374, allocations: 4.359 kB / 445.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.006423, allocations: 28.3 kB / 445.9 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.501e-05/0.006508, allocations: 47.84 kB / 446 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.007225, allocations: 0.8356 MB / 446.8 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.989e-05/0.007324, allocations: 169.1 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.007388, allocations: 80.14 kB / 447.1 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.007422, allocations: 79.22 kB / 447.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.722e-05/0.007479, allocations: 109.8 kB / 447.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.007481, allocations: 0 / 447.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 9.591e-05/0.007577, allocations: 45.62 kB / 447.3 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.007647, allocations: 126.7 kB / 447.4 MB, free: 388 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.007864, allocations: 191 kB / 447.6 MB, free: 188 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.007879, allocations: 25.7 kB / 447.6 MB, free: 156 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1952/0.203, allocations: 157 kB / 447.8 MB, free: 19.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.2031, allocations: 3.406 kB / 447.8 MB, free: 19.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.2032, allocations: 40.02 kB / 447.8 MB, free: 19.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.855e-05/0.2032, allocations: 321.4 kB / 448.1 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.254e-05/0.2033, allocations: 36.81 kB / 448.2 MB, free: 19.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.856e-05/0.2034, allocations: 154.9 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2036, allocations: 206.6 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2036, allocations: 2.219 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003356/0.2039, allocations: 193.1 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.2039, allocations: 7.781 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2039, allocations: 8 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.204, allocations: 9.469 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2041, allocations: 40.14 kB / 448.8 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.2041, allocations: 10.88 kB / 448.8 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.376e-05/0.2042, allocations: 20.16 kB / 448.8 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.2042, allocations: 12.97 kB / 448.8 MB, free: 18.7 MB / 366.1 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 9.175e-05/0.2043, allocations: 209.5 kB / 449 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.2044, allocations: 114.3 kB / 449.1 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.2044, allocations: 120.3 kB / 449.2 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.2044, allocations: 180.9 kB / 449.4 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.767e-05/0.2045, allocations: 187.6 kB / 449.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.729e-05/0.2045, allocations: 181 kB / 449.8 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.2046, allocations: 373.7 kB / 450.1 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/0.2047, allocations: 105.7 kB / 450.3 MB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-05/0.2047, allocations: 102.8 kB / 450.4 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.741e-05/0.2047, allocations: 181.1 kB / 450.5 MB, free: 16.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.2047, allocations: 183.2 kB / 450.7 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.84e-05/0.2048, allocations: 185.1 kB / 450.9 MB, free: 16.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.687e-05/0.2048, allocations: 181.9 kB / 451.1 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.279e-05/0.2049, allocations: 322.9 kB / 451.4 MB, free: 16.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.2049, allocations: 109.8 kB / 451.5 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.205, allocations: 179.6 kB / 451.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.45e-05/0.205, allocations: 105.6 kB / 451.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.2051, allocations: 179.4 kB / 451.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.2051, allocations: 114.5 kB / 452.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.925e-05/0.2052, allocations: 125.6 kB / 452.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2052, allocations: 1.281 kB / 452.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.2055, allocations: 15.75 kB / 452.2 MB, free: 15.34 MB / 366.1 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.0007291/0.2062, allocations: 288.6 kB / 452.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.2064, allocations: 77.05 kB / 452.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2064, allocations: 192 / 452.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.644e-06/0.2064, allocations: 5.219 kB / 452.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.2067, allocations: 462.4 kB / 453 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.207, allocations: 243.3 kB / 453.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.487e-05/0.2071, allocations: 86.62 kB / 453.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001956/0.2073, allocations: 49.31 kB / 453.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.2073, allocations: 17.53 kB / 453.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2073, allocations: 0 / 453.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of Templates: time 0.003684/0.211, allocations: 0.7103 MB / 454.1 MB, free: 14.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.000399634242058]