Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.0009167/0.0009167, allocations: 88.28 kB / 21.43 MB, free: 3.137 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.004217/0.004217, allocations: 155.5 kB / 24.7 MB, free: 8.895 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.8685/0.8685, allocations: 177 MB / 204.8 MB, free: 5.734 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.2437/0.2437, allocations: 34.24 MB / 295.6 MB, free: 0.6719 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.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 443.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.274e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.1719/0.1719, allocations: 1.711 MB / 445.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009434/0.1728, allocations: 0.9789 MB / 446.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/0.1729, allocations: 0 / 446.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.1732, allocations: 46.84 kB / 446.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.1734, allocations: 99.2 kB / 446.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.1735, allocations: 78.02 kB / 446.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1737, allocations: 104.8 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.556e-05/0.1738, allocations: 5.688 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.258e-05/0.1738, allocations: 59.28 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.507e-05/0.1739, allocations: 29.44 kB / 446.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1739, allocations: 2.469 kB / 446.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.174, allocations: 44.97 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.174, allocations: 23.03 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.1741, allocations: 29.09 kB / 446.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.1742, allocations: 113.4 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1742, allocations: 0 / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-06/0.1742, allocations: 0 / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.1742, allocations: 2.25 kB / 446.8 MB, free: 42.93 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003605/0.1746, allocations: 356 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1746, allocations: 8.344 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.1746, allocations: 13.7 kB / 447.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.1748, allocations: 161.1 kB / 447.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1748, allocations: 384 / 447.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1749, allocations: 7.188 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.175, allocations: 58.11 kB / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.175, allocations: 192 / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.175, allocations: 3.562 kB / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.175, allocations: 3.938 kB / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.588e-05/0.175, allocations: 22.42 kB / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.1753, allocations: 230.2 kB / 447.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1754, allocations: 58.22 kB / 447.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.1754, allocations: 24.09 kB / 447.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.1754, allocations: 2.75 kB / 447.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.884e-05/0.1755, allocations: 74.02 kB / 447.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.1755, allocations: 0 / 447.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000356/0.1759, allocations: 188.1 kB / 448 MB, free: 41.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.1759, allocations: 51.41 kB / 448.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.176, allocations: 211.6 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.176, allocations: 32 kB / 448.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.176, allocations: 109.1 kB / 448.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.176, allocations: 26.77 kB / 448.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.1761, allocations: 24.73 kB / 448.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.204e-05/0.1761, allocations: 324 kB / 448.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.519e-05/0.1762, allocations: 26.52 kB / 448.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.1762, allocations: 35.94 kB / 448.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.149e-05/0.1762, allocations: 60.95 kB / 448.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1762, allocations: 0 / 448.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.888e-05/0.1763, allocations: 121.2 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.1764, allocations: 6.969 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1764, allocations: 2.969 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1764, allocations: 0 / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.836e-05/0.1764, allocations: 17.88 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1764, allocations: 0 / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.1765, allocations: 2.906 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1765, allocations: 6.188 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.908e-05/0.1765, allocations: 126.6 kB / 449.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.1765, allocations: 13.86 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.1767, allocations: 126.6 kB / 449.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1767, allocations: 4 kB / 449.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1767, allocations: 3.938 kB / 449.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1767, allocations: 5.828 kB / 449.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.1769, allocations: 351.5 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1769, allocations: 0 / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.1769, allocations: 12.41 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1769, allocations: 2.906 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.1769, allocations: 3.375 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1769, allocations: 4.562 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1769, allocations: 4.031 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.177, allocations: 218.5 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.177, allocations: 9.922 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.177, allocations: 3.25 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.491e-05/0.1771, allocations: 6.906 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.1771, allocations: 5.969 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1771, allocations: 6.453 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.532e-05/0.1772, allocations: 160.5 kB / 450.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1772, allocations: 0 / 450.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001659/0.1774, allocations: 26.28 kB / 450.1 MB, free: 40.35 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006854/0.178, allocations: 488.8 kB / 450.6 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.1782, allocations: 64.52 kB / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.1782, allocations: 0 / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.741e-05/0.1782, allocations: 28.73 kB / 450.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1784, allocations: 40.58 kB / 450.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.1787, allocations: 270.5 kB / 451 MB, free: 39.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.901e-05/0.1788, allocations: 95.11 kB / 451.1 MB, free: 39.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.1788, allocations: 17.22 kB / 451.1 MB, free: 39.85 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1788, allocations: 0 / 451.1 MB, free: 39.85 MB / 410.7 MB Notification: Performance of Templates: time 0.002267/0.1811, allocations: 2.034 MB / 453.1 MB, free: 39.61 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.0217062858864665]