Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.001008/0.001008, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001271/0.001271, allocations: 164.9 kB / 25.61 MB, free: 8.902 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.001/1.001, allocations: 177.1 MB / 206 MB, free: 4.5 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.1594/0.1594, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.92e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003467/0.003496, allocations: 1.685 MB / 379 MB, free: 23.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008881/0.004384, allocations: 0.8026 MB / 379.8 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.004431, allocations: 0 / 379.8 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.004756, allocations: 27.83 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.005044, allocations: 39.77 kB / 379.8 MB, free: 23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.009e-06/0.005049, allocations: 4 kB / 379.8 MB, free: 23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.005232, allocations: 35.84 kB / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.005284, allocations: 11.92 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.702e-05/0.005381, allocations: 18.31 kB / 379.9 MB, free: 22.94 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.896e-05/0.00541, allocations: 7.984 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.005422, allocations: 4 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.999e-05/0.005472, allocations: 8 kB / 379.9 MB, free: 22.92 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.005517, allocations: 23.92 kB / 379.9 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.005536, allocations: 11.92 kB / 379.9 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.005672, allocations: 43.84 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.005676, allocations: 0 / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.005677, allocations: 7.938 kB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.005682, allocations: 0 / 380 MB, free: 22.83 MB / 314.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.000281/0.005963, allocations: 404.2 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.006001, allocations: 11.98 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.006036, allocations: 8.891 kB / 380.4 MB, free: 22.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.006167, allocations: 124.5 kB / 380.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.006177, allocations: 384 / 380.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.006186, allocations: 4.375 kB / 380.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.006308, allocations: 108.3 kB / 380.6 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.006319, allocations: 8.188 kB / 380.7 MB, free: 22.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.006327, allocations: 4.359 kB / 380.7 MB, free: 22.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/0.006373, allocations: 24.36 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.006416, allocations: 35.78 kB / 380.7 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.006812, allocations: 1.169 MB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.353e-05/0.006875, allocations: 269.4 kB / 382.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.006903, allocations: 130.9 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.006917, allocations: 119.2 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.006947, allocations: 160.5 kB / 382.5 MB, free: 20.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.006949, allocations: 0 / 382.5 MB, free: 20.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 6.918e-05/0.007018, allocations: 41.69 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.007065, allocations: 178.5 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.007226, allocations: 242.3 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-06/0.007231, allocations: 25.7 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.007305, allocations: 202.3 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.007309, allocations: 4 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.007365, allocations: 55.3 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.67e-05/0.007421, allocations: 0.4961 MB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.007441, allocations: 11.98 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.007524, allocations: 200.2 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.007666, allocations: 225.5 kB / 384.2 MB, free: 18.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.007671, allocations: 4 kB / 384.2 MB, free: 18.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002172/0.007888, allocations: 157.3 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.007903, allocations: 8 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.007911, allocations: 4 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.007926, allocations: 7.984 kB / 384.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.008036, allocations: 39.92 kB / 384.4 MB, free: 17.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.008044, allocations: 12.41 kB / 384.4 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.414e-05/0.008128, allocations: 27.78 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.008139, allocations: 12 kB / 384.5 MB, free: 17.94 MB / 314.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 6.619e-05/0.008206, allocations: 291.6 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.008253, allocations: 152.8 kB / 384.9 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.008289, allocations: 164.6 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/0.008316, allocations: 264.1 kB / 385.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-05/0.008345, allocations: 268 kB / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.664e-05/0.008372, allocations: 272 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.008515, allocations: 0.4928 MB / 386.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.008533, allocations: 152.8 kB / 386.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.008548, allocations: 144.9 kB / 386.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.691e-05/0.008575, allocations: 268.1 kB / 386.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.008604, allocations: 272 kB / 387.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-05/0.00863, allocations: 264.1 kB / 387.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.209e-05/0.008662, allocations: 272 kB / 387.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.129e-05/0.008743, allocations: 455.9 kB / 388.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.00877, allocations: 156.8 kB / 388.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.008806, allocations: 268.1 kB / 388.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.801e-05/0.008864, allocations: 156.8 kB / 388.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.008905, allocations: 264.1 kB / 389 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.008922, allocations: 148.9 kB / 389.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.439e-05/0.008987, allocations: 161.3 kB / 389.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008987, allocations: 3.938 kB / 389.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.00926, allocations: 15.94 kB / 389.3 MB, free: 12.94 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.0005291/0.009789, allocations: 314.8 kB / 389.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.009921, allocations: 64.59 kB / 389.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.009923, allocations: 0 / 389.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.009925, allocations: 4 kB / 389.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.0102, allocations: 0.7102 MB / 390.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.01049, allocations: 273.7 kB / 390.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.01053, allocations: 75.69 kB / 390.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.961e-05/0.01061, allocations: 13.14 kB / 390.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.01066, allocations: 78.2 kB / 390.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01066, allocations: 0 / 390.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of Templates: time 0.003163/0.01382, allocations: 0.7895 MB / 391.6 MB, free: 10.64 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.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.2068876679986715]