Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.0008105/0.0008105, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003308/0.003308, allocations: 157.5 kB / 24.7 MB, free: 9.422 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.8579/0.8579, allocations: 177 MB / 204.9 MB, free: 5.754 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.2473/0.2473, allocations: 34.25 MB / 295.6 MB, free: 0.6758 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.099e-05, allocations: 9.031 kB / 443.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.1748/0.1748, allocations: 1.586 MB / 445 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007067/0.1756, allocations: 0.5233 MB / 445.5 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.1756, allocations: 1.625 kB / 445.5 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.1758, allocations: 24.88 kB / 445.6 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.1761, allocations: 82.36 kB / 445.7 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.1763, allocations: 90.62 kB / 445.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1764, allocations: 65.05 kB / 445.8 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1765, allocations: 15.09 kB / 445.8 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.443e-05/0.1765, allocations: 27.06 kB / 445.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.1766, allocations: 16.53 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.1766, allocations: 6.875 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.1767, allocations: 35.16 kB / 445.9 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.1767, allocations: 14.03 kB / 445.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.1767, allocations: 18.77 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.1769, allocations: 76.78 kB / 446 MB, free: 43.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1769, allocations: 3.562 kB / 446 MB, free: 43.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1769, allocations: 0 / 446 MB, free: 43.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.361e-06/0.1769, allocations: 0 / 446 MB, free: 43.42 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003219/0.1772, allocations: 305 kB / 446.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1772, allocations: 11.72 kB / 446.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.1773, allocations: 7.797 kB / 446.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1774, allocations: 144 kB / 446.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.1774, allocations: 384 / 446.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1774, allocations: 3.25 kB / 446.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.736e-05/0.1775, allocations: 58.69 kB / 446.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1775, allocations: 192 / 446.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1775, allocations: 384 / 446.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1775, allocations: 384 / 446.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.798e-05/0.1776, allocations: 25.86 kB / 446.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.1778, allocations: 218.6 kB / 446.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.178, allocations: 46.19 kB / 446.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.178, allocations: 13.77 kB / 446.8 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.178, allocations: 3.688 kB / 446.8 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.075e-05/0.1781, allocations: 30.56 kB / 446.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.1781, allocations: 0.5 kB / 446.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003743/0.1784, allocations: 150.3 kB / 447 MB, free: 42.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.1785, allocations: 55.41 kB / 447.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.171e-05/0.1785, allocations: 148.2 kB / 447.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-06/0.1786, allocations: 29.7 kB / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.1786, allocations: 94.09 kB / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.1786, allocations: 18.61 kB / 447.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.1786, allocations: 16.66 kB / 447.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.447e-05/0.1787, allocations: 320.5 kB / 447.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.31e-05/0.1787, allocations: 21.27 kB / 447.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.323e-05/0.1787, allocations: 15.39 kB / 447.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.954e-05/0.1788, allocations: 53.08 kB / 447.8 MB, free: 41.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1788, allocations: 5.531 kB / 447.8 MB, free: 41.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.335e-05/0.1789, allocations: 81.36 kB / 447.8 MB, free: 41.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1789, allocations: 6.219 kB / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1789, allocations: 0 / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1789, allocations: 0.8438 kB / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-05/0.179, allocations: 11.58 kB / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.179, allocations: 2.781 kB / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.179, allocations: 17.95 kB / 447.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.179, allocations: 0 / 447.9 MB, free: 41.81 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 (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 4.112e-05/0.179, allocations: 122.8 kB / 448 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.1791, allocations: 13.02 kB / 448 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.1792, allocations: 88.97 kB / 448.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1792, allocations: 0 / 448.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1792, allocations: 0 / 448.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1792, allocations: 0 / 448.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.1794, allocations: 301.1 kB / 448.4 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1794, allocations: 4.141 kB / 448.4 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.1794, allocations: 14.62 kB / 448.4 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1794, allocations: 0 / 448.4 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1794, allocations: 4 kB / 448.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1795, allocations: 0 / 448.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1795, allocations: 0 / 448.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.053e-05/0.1795, allocations: 175.9 kB / 448.6 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.1795, allocations: 10.95 kB / 448.6 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.1796, allocations: 4 kB / 448.6 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.285e-05/0.1796, allocations: 6.078 kB / 448.6 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.1796, allocations: 7.031 kB / 448.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1796, allocations: 3.094 kB / 448.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.229e-05/0.1797, allocations: 120.2 kB / 448.7 MB, free: 41.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1797, allocations: 0 / 448.7 MB, free: 41.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.1798, allocations: 11.91 kB / 448.8 MB, free: 41.12 MB / 410.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.0006463/0.1805, allocations: 427.8 kB / 449.2 MB, free: 40.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.1806, allocations: 44.7 kB / 449.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1806, allocations: 0 / 449.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.1806, allocations: 23.14 kB / 449.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.1809, allocations: 20.84 kB / 449.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.1812, allocations: 203.8 kB / 449.5 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.281e-05/0.1813, allocations: 79.23 kB / 449.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.1813, allocations: 14.22 kB / 449.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1813, allocations: 0 / 449.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of Templates: time 0.002125/0.1834, allocations: 1.465 MB / 451 MB, free: 40.53 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.802180869504809]