Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001778/0.001778, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.002279/0.002279, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.539/1.539, allocations: 177.1 MB / 204.3 MB, free: 9.184 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.2682/0.2682, allocations: 34.28 MB / 295 MB, free: 14.58 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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.43e-05/3.606e-05, allocations: 5.516 kB / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003978/0.004014, allocations: 1.623 MB / 444.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.005411, allocations: 0.5336 MB / 444.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.177e-05/0.005503, allocations: 3.938 kB / 444.9 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.005899, allocations: 103.7 kB / 445 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000443/0.006342, allocations: 127.5 kB / 445.1 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.006775, allocations: 111.4 kB / 445.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.007026, allocations: 99.67 kB / 445.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.007142, allocations: 11.98 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.00727, allocations: 51.88 kB / 445.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.007418, allocations: 67.86 kB / 445.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.007442, allocations: 4 kB / 445.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.00755, allocations: 47.91 kB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.007613, allocations: 23.92 kB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.007652, allocations: 19.92 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.007885, allocations: 119.5 kB / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.007889, allocations: 0 / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00789, allocations: 0 / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.007894, allocations: 0 / 445.6 MB, free: 2.441 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005324/0.008427, allocations: 349.5 kB / 446 MB, free: 2.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.008464, allocations: 12.02 kB / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.008517, allocations: 16.84 kB / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.008721, allocations: 138.4 kB / 446.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.008735, allocations: 4.375 kB / 446.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.008755, allocations: 8.375 kB / 446.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.008911, allocations: 66.09 kB / 446.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.008926, allocations: 4.188 kB / 446.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.008937, allocations: 4.125 kB / 446.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.008941, allocations: 0 / 446.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.009045, allocations: 27.97 kB / 446.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.009451, allocations: 244.4 kB / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.009587, allocations: 50.48 kB / 446.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.009648, allocations: 24.8 kB / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.009673, allocations: 0 / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.009705, allocations: 38.64 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.009706, allocations: 0 / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001007/0.01071, allocations: 241.5 kB / 446.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.01076, allocations: 59.41 kB / 446.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.01105, allocations: 255.6 kB / 447.1 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.01107, allocations: 25.7 kB / 447.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.093e-05/0.01116, allocations: 112.1 kB / 447.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.0112, allocations: 31.8 kB / 447.3 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.01126, allocations: 21.72 kB / 447.3 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.01141, allocations: 326.8 kB / 447.7 MB, free: 264 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.595e-05/0.01151, allocations: 31.97 kB / 447.7 MB, free: 232 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.574e-05/0.01159, allocations: 31.98 kB / 447.7 MB, free: 200 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.01179, allocations: 80.75 kB / 447.8 MB, free: 116 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.01179, allocations: 0 / 447.8 MB, free: 116 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.2077/0.2194, allocations: 113.2 kB / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.2195, allocations: 7.406 kB / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2195, allocations: 0.875 kB / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.2195, allocations: 0.6875 kB / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.2196, allocations: 18.03 kB / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2197, allocations: 3.359 kB / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.2197, allocations: 9.641 kB / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.2197, allocations: 4.875 kB / 447.9 MB, free: 19.07 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 (8): * Single equations (assignments): 8 * 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 0.0001149/0.2199, allocations: 141.2 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.2199, allocations: 15.41 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.2203, allocations: 130.8 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2203, allocations: 1.188 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2203, allocations: 2.5 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2203, allocations: 3.859 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.2208, allocations: 364.7 kB / 448.6 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2208, allocations: 0 / 448.6 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.2209, allocations: 24.5 kB / 448.6 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2209, allocations: 1.797 kB / 448.6 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.2209, allocations: 1.188 kB / 448.6 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2209, allocations: 1.953 kB / 448.6 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2209, allocations: 0.9688 kB / 448.6 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.2212, allocations: 220 kB / 448.8 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.2212, allocations: 11.41 kB / 448.8 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.2212, allocations: 2.25 kB / 448.8 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/0.2213, allocations: 9.047 kB / 448.9 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.2213, allocations: 9.688 kB / 448.9 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.2213, allocations: 8.219 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.2215, allocations: 188.9 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2215, allocations: 1.156 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.2218, allocations: 22.5 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001774/0.2236, allocations: 485.6 kB / 449.6 MB, free: 18.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.2238, allocations: 79.16 kB / 449.6 MB, free: 18.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2238, allocations: 0 / 449.6 MB, free: 18.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.421e-05/0.2239, allocations: 33.53 kB / 449.7 MB, free: 18.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.2242, allocations: 24.12 kB / 449.7 MB, free: 18.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.2247, allocations: 305.2 kB / 450 MB, free: 18.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.633e-05/0.2248, allocations: 99.03 kB / 450.1 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.3e-05/0.2249, allocations: 25.02 kB / 450.1 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.2249, allocations: 19.98 kB / 450.1 MB, free: 18.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2249, allocations: 0.75 kB / 450.1 MB, free: 18.05 MB / 366.1 MB Notification: Performance of Templates: time 0.004816/0.2297, allocations: 1.407 MB / 451.5 MB, free: 17.87 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.007211275398731]