Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.0008048/0.0008048, allocations: 88.28 kB / 21.44 MB, free: 3.121 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.003254/0.003254, allocations: 154.3 kB / 24.69 MB, free: 8.914 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.8547/0.8547, allocations: 177 MB / 204.9 MB, free: 5.746 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.2222/0.2222, allocations: 34.24 MB / 295.6 MB, free: 0.6562 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 443.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.479e-05, allocations: 8.812 kB / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.1715/0.1716, allocations: 1.605 MB / 445.1 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000638/0.1722, allocations: 0.5252 MB / 445.6 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.1723, allocations: 0 / 445.6 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.1725, allocations: 82.39 kB / 445.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.1727, allocations: 98.7 kB / 445.8 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.1729, allocations: 98.09 kB / 445.8 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.173, allocations: 83.98 kB / 445.9 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.306e-05/0.1731, allocations: 17.36 kB / 445.9 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.521e-05/0.1732, allocations: 51.14 kB / 446 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.197e-05/0.1733, allocations: 54.34 kB / 446 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1733, allocations: 5.844 kB / 446.1 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-05/0.1733, allocations: 47.69 kB / 446.1 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.1734, allocations: 17.5 kB / 446.1 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.1734, allocations: 20.95 kB / 446.1 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1736, allocations: 103.8 kB / 446.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1736, allocations: 0 / 446.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1736, allocations: 0 / 446.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1736, allocations: 0 / 446.2 MB, free: 43.3 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.0003306/0.1739, allocations: 336.3 kB / 446.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1739, allocations: 11 kB / 446.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.174, allocations: 14.28 kB / 446.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1741, allocations: 147.3 kB / 446.7 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.1741, allocations: 3.25 kB / 446.7 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1741, allocations: 384 / 446.7 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.1742, allocations: 55.44 kB / 446.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1742, allocations: 192 / 446.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.1742, allocations: 384 / 446.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1742, allocations: 4.828 kB / 446.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.467e-05/0.1743, allocations: 27.92 kB / 446.8 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.1745, allocations: 244 kB / 447.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.909e-05/0.1746, allocations: 40.53 kB / 447.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/0.1746, allocations: 18.58 kB / 447.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1746, allocations: 0 / 447.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.1747, allocations: 40.47 kB / 447.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.1747, allocations: 0 / 447.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005776/0.1752, allocations: 242.3 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.1753, allocations: 55.34 kB / 447.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1754, allocations: 216.7 kB / 447.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-06/0.1754, allocations: 25.7 kB / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.1754, allocations: 113.5 kB / 447.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.1754, allocations: 18.08 kB / 447.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.1755, allocations: 19.94 kB / 447.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.031e-05/0.1755, allocations: 332.1 kB / 448.2 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-05/0.1755, allocations: 21.48 kB / 448.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/0.1756, allocations: 21.73 kB / 448.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.438e-05/0.1756, allocations: 66.23 kB / 448.3 MB, free: 41.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1756, allocations: 0 / 448.3 MB, free: 41.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001047/0.1757, allocations: 110.7 kB / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1758, allocations: 5.781 kB / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1758, allocations: 4 kB / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1758, allocations: 0 / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.1758, allocations: 16.94 kB / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1758, allocations: 1.641 kB / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.1759, allocations: 9.953 kB / 448.4 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1759, allocations: 3.031 kB / 448.4 MB, free: 41.58 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 4.993e-05/0.1759, allocations: 124.3 kB / 448.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.1759, allocations: 17.19 kB / 448.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.1761, allocations: 127.4 kB / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1761, allocations: 2.625 kB / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1761, allocations: 0 / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1761, allocations: 0 / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.1764, allocations: 345.7 kB / 449 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1764, allocations: 2.25 kB / 449 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.1764, allocations: 17.31 kB / 449 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1764, allocations: 0 / 449 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.1764, allocations: 10.94 kB / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1764, allocations: 0 / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1764, allocations: 0 / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.1765, allocations: 208.1 kB / 449.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-06/0.1765, allocations: 10.05 kB / 449.3 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.1765, allocations: 6.625 kB / 449.3 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.1766, allocations: 2.844 kB / 449.3 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.1766, allocations: 10.2 kB / 449.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1766, allocations: 2.719 kB / 449.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.596e-05/0.1767, allocations: 166.5 kB / 449.4 MB, free: 40.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1767, allocations: 0 / 449.4 MB, free: 40.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.1769, allocations: 21.34 kB / 449.5 MB, free: 40.81 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.0007759/0.1776, allocations: 486.3 kB / 449.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.1778, allocations: 63.22 kB / 450 MB, free: 40.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1778, allocations: 0 / 450 MB, free: 40.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.916e-05/0.1778, allocations: 35.77 kB / 450 MB, free: 40.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1781, allocations: 16.09 kB / 450.1 MB, free: 40.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.1784, allocations: 286.2 kB / 450.3 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.98e-05/0.1785, allocations: 101.9 kB / 450.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.1785, allocations: 21.3 kB / 450.5 MB, free: 40.31 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1785, allocations: 0 / 450.5 MB, free: 40.31 MB / 410.7 MB Notification: Performance of Templates: time 0.002301/0.1808, allocations: 1.815 MB / 452.3 MB, free: 40.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.732275674119592]