Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001037/0.001037, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001588/0.002625, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001054/0.001054, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.002472, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9297/0.9297, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09325/1.023, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] 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.369/0.369, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02581/0.3948, allocations: 13.24 MB / 292.8 MB, free: 6.383 MB / 282.7 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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 294.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.462e-05, allocations: 3.078 kB / 294.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002398/0.002423, allocations: 1.693 MB / 295.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.003903, allocations: 1.34 MB / 297.2 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.003969, allocations: 0 / 297.2 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.004115, allocations: 27.78 kB / 297.2 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.004354, allocations: 87.5 kB / 297.3 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.004636, allocations: 115.5 kB / 297.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.004769, allocations: 71.72 kB / 297.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.019e-05/0.004849, allocations: 4 kB / 297.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.004952, allocations: 55.89 kB / 297.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.71e-05/0.005049, allocations: 23.91 kB / 297.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.005063, allocations: 8 kB / 297.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.005244, allocations: 95.81 kB / 297.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.005281, allocations: 11.94 kB / 297.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.005304, allocations: 11.94 kB / 297.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.005506, allocations: 119.6 kB / 297.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-05/0.005519, allocations: 7.938 kB / 297.8 MB, free: 1.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.00552, allocations: 0 / 297.8 MB, free: 1.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.00553, allocations: 0 / 297.8 MB, free: 1.395 MB / 282.7 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.0004158/0.005946, allocations: 317.1 kB / 298.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.005982, allocations: 15.44 kB / 298.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.006015, allocations: 8.938 kB / 298.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.006157, allocations: 125.7 kB / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.505e-06/0.006166, allocations: 4.375 kB / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.006186, allocations: 384 / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.006308, allocations: 102.3 kB / 298.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.006316, allocations: 192 / 298.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.006324, allocations: 384 / 298.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.006329, allocations: 384 / 298.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.929e-05/0.006348, allocations: 7.938 kB / 298.3 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.006565, allocations: 171 kB / 298.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.006696, allocations: 37.39 kB / 298.6 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.006711, allocations: 12.86 kB / 298.6 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.006725, allocations: 4 kB / 298.6 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.006746, allocations: 30.56 kB / 298.6 MB, free: 480 kB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.006747, allocations: 0 / 298.6 MB, free: 480 kB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002738/0.007021, allocations: 81.62 kB / 298.7 MB, free: 392 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.007045, allocations: 51.41 kB / 298.7 MB, free: 328 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.868e-05/0.007144, allocations: 148.3 kB / 298.9 MB, free: 164 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.007155, allocations: 25.7 kB / 298.9 MB, free: 132 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.007188, allocations: 96.02 kB / 299 MB, free: 32 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.007206, allocations: 23.83 kB / 299 MB, free: 8 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.007244, allocations: 21.75 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.007316, allocations: 318.8 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.007327, allocations: 0 / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.797e-05/0.007355, allocations: 47.36 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.079e-05/0.007386, allocations: 19.67 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.007387, allocations: 0 / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.91e-05/0.007446, allocations: 57.81 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.007457, allocations: 4 kB / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.007462, allocations: 3.938 kB / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.007476, allocations: 4.031 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.007533, allocations: 15.98 kB / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.007536, allocations: 0 / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.007558, allocations: 4 kB / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.007563, allocations: 0 / 299.5 MB, free: 15.48 MB / 298.7 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.259e-05/0.007626, allocations: 108.7 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.007644, allocations: 11.98 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.84e-05/0.007742, allocations: 70 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007744, allocations: 0 / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.007751, allocations: 288 / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.007755, allocations: 4 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.007958, allocations: 210.8 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.00796, allocations: 4 kB / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.007999, allocations: 15.92 kB / 299.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.008011, allocations: 15.88 kB / 299.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.008014, allocations: 0 / 299.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-06/0.008018, allocations: 0 / 299.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.00802, allocations: 0 / 299.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.008021, allocations: 0 / 299.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.062e-05/0.008102, allocations: 139.5 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.008114, allocations: 8.172 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.284e-05/0.008147, allocations: 12 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.008168, allocations: 0 / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.008171, allocations: 4 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.56e-05/0.008207, allocations: 45.77 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008207, allocations: 0 / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000172/0.008379, allocations: 35.88 kB / 300.2 MB, free: 14.75 MB / 298.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 (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.001415/0.009794, allocations: 0.6703 MB / 300.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.086e-05/0.009884, allocations: 24.84 kB / 300.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.009895, allocations: 8 kB / 300.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.096e-05/0.009936, allocations: 20.78 kB / 300.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.0102, allocations: 80.12 kB / 301 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.01074, allocations: 179 kB / 301.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.196e-05/0.01078, allocations: 59.34 kB / 301.2 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.01084, allocations: 15.98 kB / 301.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.481e-05/0.01093, allocations: 71.3 kB / 301.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01093, allocations: 0 / 301.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of Templates: time 0.004781/0.01571, allocations: 2.027 MB / 303.3 MB, free: 11.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9689654828980565]