Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001733/0.001733, allocations: 82.5 kB / 20.68 MB, free: 1.039 MB / 14.72 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.00205/0.00205, allocations: 164.6 kB / 23.95 MB, free: 4.172 MB / 14.72 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.525/1.525, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.207/0.207, allocations: 34.27 MB / 295 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.886e-05, allocations: 2.281 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002986/0.003015, allocations: 1.607 MB / 444.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.004889, allocations: 1.235 MB / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.004952, allocations: 0 / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.005206, allocations: 31.78 kB / 445.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.005547, allocations: 79.56 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.005844, allocations: 95.25 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.006001, allocations: 71.77 kB / 445.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.006094, allocations: 8 kB / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.989e-05/0.006174, allocations: 31.91 kB / 445.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.006294, allocations: 23.91 kB / 445.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.006313, allocations: 4 kB / 445.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.006485, allocations: 103.8 kB / 446 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.006544, allocations: 15.92 kB / 446 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.006582, allocations: 8 kB / 446 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.006868, allocations: 147.5 kB / 446.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006871, allocations: 0 / 446.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006872, allocations: 0 / 446.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.006877, allocations: 0 / 446.1 MB, free: 1.934 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005757/0.007452, allocations: 325.7 kB / 446.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.007493, allocations: 8.031 kB / 446.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.007541, allocations: 12.83 kB / 446.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.007759, allocations: 133.7 kB / 446.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.007777, allocations: 12.3 kB / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.0078, allocations: 8.312 kB / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.00799, allocations: 81.67 kB / 446.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.008007, allocations: 4.141 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.008023, allocations: 8.125 kB / 446.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.008033, allocations: 4 kB / 446.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.891e-05/0.008132, allocations: 23.97 kB / 446.8 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.008468, allocations: 212.6 kB / 447 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.008707, allocations: 50.56 kB / 447 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.008758, allocations: 8.859 kB / 447 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.008786, allocations: 8.016 kB / 447 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.008815, allocations: 34.56 kB / 447.1 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.008816, allocations: 0 / 447.1 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005997/0.009416, allocations: 141.4 kB / 447.2 MB, free: 0.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.009472, allocations: 77.11 kB / 447.3 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.009659, allocations: 145.8 kB / 447.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.009677, allocations: 25.7 kB / 447.4 MB, free: 484 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.009747, allocations: 104 kB / 447.5 MB, free: 376 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.009769, allocations: 15.86 kB / 447.6 MB, free: 360 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.009816, allocations: 21.7 kB / 447.6 MB, free: 332 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.009955, allocations: 314.8 kB / 447.9 MB, free: 8 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2059/0.2158, allocations: 16.06 kB / 447.9 MB, free: 19.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.2159, allocations: 62.27 kB / 448 MB, free: 19.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.2161, allocations: 43.09 kB / 448 MB, free: 19.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2161, allocations: 4.844 kB / 448 MB, free: 19.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002206/0.2163, allocations: 87.62 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2163, allocations: 6.781 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2163, allocations: 1.062 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2163, allocations: 0 / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.2164, allocations: 13.41 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2164, allocations: 2.344 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.2165, allocations: 4.922 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.2165, allocations: 1.875 kB / 448.1 MB, free: 19.05 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 (5): * Single equations (assignments): 5 * 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.607e-05/0.2166, allocations: 118.5 kB / 448.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.2166, allocations: 10.19 kB / 448.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.2169, allocations: 95.69 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2169, allocations: 0.875 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2169, allocations: 1.094 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2169, allocations: 0.7031 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.2172, allocations: 296.2 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2172, allocations: 0.875 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.042e-05/0.2173, allocations: 16.02 kB / 448.7 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2173, allocations: 3.672 kB / 448.7 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2173, allocations: 0 / 448.7 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2173, allocations: 4.344 kB / 448.7 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2173, allocations: 0 / 448.7 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.2175, allocations: 181.4 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.2175, allocations: 6.641 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.2175, allocations: 2.453 kB / 448.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-05/0.2176, allocations: 12.47 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.2177, allocations: 8.734 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.2177, allocations: 1.812 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.82e-05/0.2177, allocations: 113.6 kB / 449 MB, free: 18.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2177, allocations: 2.125 kB / 449 MB, free: 18.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.218, allocations: 37.52 kB / 449 MB, free: 18.46 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 (5): * Single equations (assignments): 5 * 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.001845/0.2199, allocations: 0.5187 MB / 449.5 MB, free: 18.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.2201, allocations: 52.92 kB / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2201, allocations: 0 / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.2202, allocations: 24.11 kB / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2205, allocations: 21.56 kB / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.221, allocations: 178.2 kB / 449.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.993e-05/0.221, allocations: 75.89 kB / 449.9 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.482e-05/0.2211, allocations: 17 kB / 449.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.2211, allocations: 17.95 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2211, allocations: 1.156 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of Templates: time 0.005372/0.2265, allocations: 1.816 MB / 451.7 MB, free: 17.86 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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: 4.9431455954909325]