Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.0009288/0.0009288, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004969/0.004969, allocations: 158.5 kB / 24.7 MB, free: 9.441 MB / 18.57 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.8627/0.8627, allocations: 177 MB / 204.8 MB, free: 5.738 MB / 186.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.23/0.23, allocations: 34.25 MB / 295.6 MB, free: 0.668 MB / 266.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.CombiTable1Ds.Test3,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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 443.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.077e-05, allocations: 6.219 kB / 443.4 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.1708/0.1708, allocations: 1.6 MB / 445 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006304/0.1715, allocations: 0.5246 MB / 445.6 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.1715, allocations: 2.719 kB / 445.6 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.1717, allocations: 79.62 kB / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.172, allocations: 102 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.1721, allocations: 93.34 kB / 445.8 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1723, allocations: 91.55 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.1723, allocations: 12.41 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.667e-05/0.1724, allocations: 38.94 kB / 446 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.993e-05/0.1725, allocations: 50.14 kB / 446 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1725, allocations: 6.031 kB / 446 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.155e-05/0.1726, allocations: 44.3 kB / 446.1 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.1726, allocations: 19.97 kB / 446.1 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.1726, allocations: 17.95 kB / 446.1 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.1728, allocations: 100.9 kB / 446.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1728, allocations: 2.906 kB / 446.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1728, allocations: 4.5 kB / 446.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1728, allocations: 0.7188 kB / 446.2 MB, free: 43.38 MB / 410.7 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.0003122/0.1731, allocations: 334 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.1731, allocations: 11.5 kB / 446.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.1731, allocations: 7.828 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1733, allocations: 144.9 kB / 446.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.1733, allocations: 3.812 kB / 446.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.1733, allocations: 9.594 kB / 446.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.452e-05/0.1734, allocations: 59.89 kB / 446.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1734, allocations: 192 / 446.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1734, allocations: 6.312 kB / 446.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1734, allocations: 3.938 kB / 446.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.357e-05/0.1735, allocations: 32.92 kB / 446.8 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.1737, allocations: 227.7 kB / 447 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.311e-05/0.1737, allocations: 40.45 kB / 447.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.1738, allocations: 18.72 kB / 447.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1738, allocations: 2.969 kB / 447.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.236e-05/0.1738, allocations: 35 kB / 447.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1738, allocations: 3.562 kB / 447.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005138/0.1743, allocations: 227.2 kB / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.1743, allocations: 54.12 kB / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1744, allocations: 199.6 kB / 447.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.1744, allocations: 34.39 kB / 447.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.1745, allocations: 105 kB / 447.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.1745, allocations: 26.83 kB / 447.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.1745, allocations: 22.78 kB / 447.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.817e-05/0.1745, allocations: 321 kB / 448.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.093e-05/0.1746, allocations: 29.09 kB / 448.1 MB, free: 41.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/0.1746, allocations: 24.92 kB / 448.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.241e-05/0.1747, allocations: 68.64 kB / 448.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1747, allocations: 0 / 448.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001041/0.1748, allocations: 104.6 kB / 448.3 MB, free: 41.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1748, allocations: 5.656 kB / 448.3 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1748, allocations: 4 kB / 448.3 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1748, allocations: 0 / 448.3 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.1749, allocations: 20.94 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1749, allocations: 1.641 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.1749, allocations: 2.844 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1749, allocations: 2.906 kB / 448.4 MB, free: 41.67 MB / 410.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 (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 5.014e-05/0.175, allocations: 130.3 kB / 448.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.175, allocations: 17.72 kB / 448.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.1751, allocations: 122 kB / 448.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1751, allocations: 2.906 kB / 448.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1751, allocations: 0 / 448.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1751, allocations: 0 / 448.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.1754, allocations: 341.2 kB / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1754, allocations: 7.219 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.1754, allocations: 17.81 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1754, allocations: 2.156 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1754, allocations: 0 / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1754, allocations: 10.69 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1754, allocations: 0 / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.1755, allocations: 206.8 kB / 449.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.1755, allocations: 12.53 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.1755, allocations: 0 / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.1756, allocations: 6.812 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.1756, allocations: 5.75 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1756, allocations: 3.344 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.795e-05/0.1757, allocations: 153.7 kB / 449.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1757, allocations: 6.844 kB / 449.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001548/0.1758, allocations: 23.69 kB / 449.4 MB, free: 40.89 MB / 410.7 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.0006743/0.1765, allocations: 490.9 kB / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.1766, allocations: 63.34 kB / 450 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1766, allocations: 0 / 450 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.1767, allocations: 31.53 kB / 450 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.1769, allocations: 20.48 kB / 450 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.1772, allocations: 269.4 kB / 450.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.516e-05/0.1773, allocations: 95.17 kB / 450.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.1773, allocations: 14.28 kB / 450.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1773, allocations: 0 / 450.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of Templates: time 0.002119/0.1794, allocations: 1.786 MB / 452.2 MB, free: 40.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.894220973365009]