Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.0008782/0.0008782, 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.004075/0.004075, allocations: 158 kB / 24.7 MB, free: 9.418 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.8884/0.8884, 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.2677/0.2677, allocations: 34.24 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.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.28e-05, allocations: 5.094 kB / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.1747/0.1748, allocations: 1.709 MB / 445.2 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009319/0.1757, allocations: 0.9758 MB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.1757, allocations: 0 / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.1759, allocations: 49.39 kB / 446.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1761, allocations: 93.06 kB / 446.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.1763, allocations: 79.83 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.1764, allocations: 113.3 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.26e-05/0.1764, allocations: 6.016 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.16e-05/0.1765, allocations: 53.03 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.1766, allocations: 26.09 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1766, allocations: 4.375 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.988e-05/0.1766, allocations: 52.17 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.1767, allocations: 20.12 kB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.1767, allocations: 25.61 kB / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.1768, allocations: 115.6 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1768, allocations: 0 / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1768, allocations: 2.031 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1768, allocations: 0 / 446.8 MB, free: 42.95 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.0002983/0.1771, allocations: 350.4 kB / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1772, allocations: 10.5 kB / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.1772, allocations: 10.39 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1774, allocations: 158.4 kB / 447.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.1774, allocations: 5.969 kB / 447.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1774, allocations: 9.469 kB / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.895e-05/0.1775, allocations: 60.78 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1775, allocations: 4.125 kB / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1775, allocations: 384 / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1775, allocations: 3.938 kB / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.584e-05/0.1776, allocations: 22.52 kB / 447.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.1778, allocations: 230.8 kB / 447.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.438e-05/0.1779, allocations: 61.41 kB / 447.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.1779, allocations: 20.3 kB / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.1779, allocations: 0 / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.017e-05/0.178, allocations: 71.81 kB / 447.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 6.72e-07/0.178, allocations: 0 / 447.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003448/0.1783, allocations: 189.6 kB / 448 MB, free: 42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.1783, allocations: 51.41 kB / 448.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.1784, allocations: 216.8 kB / 448.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.1784, allocations: 25.7 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.1785, allocations: 108.3 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.1785, allocations: 29.75 kB / 448.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.1785, allocations: 23.39 kB / 448.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.295e-05/0.1786, allocations: 323.7 kB / 448.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.053e-05/0.1786, allocations: 25.16 kB / 448.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.329e-05/0.1786, allocations: 40.88 kB / 448.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.099e-05/0.1787, allocations: 67.53 kB / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1787, allocations: 0 / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.32e-05/0.1788, allocations: 112 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.1788, allocations: 2.938 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1788, allocations: 2.906 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1788, allocations: 3.562 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.1789, allocations: 17.86 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.1789, allocations: 0 / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.1789, allocations: 2.938 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.1789, allocations: 6 kB / 449 MB, free: 41.17 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.724e-05/0.1789, allocations: 129.2 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.1789, allocations: 16.55 kB / 449.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.1791, allocations: 123.3 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1791, allocations: 4.125 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1791, allocations: 3.938 kB / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1791, allocations: 0 / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.1793, allocations: 356.3 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1793, allocations: 0 / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.1793, allocations: 15.83 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1793, allocations: 3.031 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1793, allocations: 0 / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1793, allocations: 3 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1793, allocations: 1.641 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.1794, allocations: 221.2 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.1795, allocations: 6.828 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.1795, allocations: 9.5 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.1795, allocations: 6.812 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.1795, allocations: 5.797 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1795, allocations: 2.531 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.273e-05/0.1796, allocations: 161.3 kB / 450.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1796, allocations: 0 / 450.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.1798, allocations: 27.94 kB / 450.1 MB, free: 40.39 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.0006981/0.1805, allocations: 491.8 kB / 450.6 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.1806, allocations: 61.16 kB / 450.7 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1806, allocations: 0 / 450.7 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.745e-05/0.1806, allocations: 32.47 kB / 450.7 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.1808, allocations: 39.08 kB / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.1811, allocations: 271.8 kB / 451 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.143e-05/0.1812, allocations: 98.34 kB / 451.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.1812, allocations: 17.34 kB / 451.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1812, allocations: 2.875 kB / 451.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of Templates: time 0.00219/0.1834, allocations: 2.024 MB / 453.1 MB, free: 39.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.057295108214021]