Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.000823/0.000823, 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.003749/0.003749, allocations: 160 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.8774/0.8774, allocations: 177 MB / 204.9 MB, free: 5.711 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.2408/0.2408, allocations: 34.24 MB / 295.6 MB, free: 0.6445 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 443.5 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.792e-05, allocations: 6.281 kB / 443.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.1738/0.1738, allocations: 1.778 MB / 445.3 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1751, allocations: 1.739 MB / 447 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.1752, allocations: 0 / 447 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.1754, allocations: 56.48 kB / 447.1 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.1757, allocations: 145.5 kB / 447.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.1758, allocations: 111.9 kB / 447.3 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1759, allocations: 212.5 kB / 447.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.176, allocations: 10.55 kB / 447.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.197e-05/0.1761, allocations: 111.9 kB / 447.6 MB, free: 42.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1762, allocations: 61.44 kB / 447.7 MB, free: 42.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1762, allocations: 10.72 kB / 447.7 MB, free: 42.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1763, allocations: 107.8 kB / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.1763, allocations: 34.55 kB / 447.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.1764, allocations: 45.8 kB / 447.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1766, allocations: 233.7 kB / 448.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1766, allocations: 3.422 kB / 448.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1766, allocations: 0 / 448.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1766, allocations: 0 / 448.1 MB, free: 42.1 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003983/0.177, allocations: 427.8 kB / 448.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.177, allocations: 8.625 kB / 448.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.1771, allocations: 22.42 kB / 448.6 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.1773, allocations: 187.6 kB / 448.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1773, allocations: 6.438 kB / 448.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1773, allocations: 7.438 kB / 448.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1774, allocations: 158.4 kB / 448.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1774, allocations: 192 / 448.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1775, allocations: 384 / 448.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1775, allocations: 4.781 kB / 448.9 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.908e-05/0.1775, allocations: 44.67 kB / 449 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.1776, allocations: 154.8 kB / 449.1 MB, free: 41.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.1778, allocations: 108.8 kB / 449.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.1778, allocations: 39.03 kB / 449.3 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.1778, allocations: 0 / 449.3 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.1779, allocations: 115 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 5.91e-07/0.1779, allocations: 0 / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002391/0.1782, allocations: 182.5 kB / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.1782, allocations: 143.4 kB / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1783, allocations: 241.2 kB / 449.9 MB, free: 40.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.1783, allocations: 32.61 kB / 450 MB, free: 40.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.1784, allocations: 119.2 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.1784, allocations: 22.39 kB / 450.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.1784, allocations: 32.31 kB / 450.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.736e-05/0.1784, allocations: 330.7 kB / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.1785, allocations: 25.66 kB / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.258e-05/0.1785, allocations: 133.8 kB / 450.6 MB, free: 40.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.181e-05/0.1786, allocations: 93.61 kB / 450.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1786, allocations: 0 / 450.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001316/0.1788, allocations: 144 kB / 450.9 MB, free: 39.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.1788, allocations: 5.875 kB / 450.9 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.1788, allocations: 0 / 450.9 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1788, allocations: 96 / 450.9 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.1789, allocations: 35.33 kB / 450.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1789, allocations: 3.328 kB / 450.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.1789, allocations: 9.625 kB / 450.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1789, allocations: 2.844 kB / 450.9 MB, free: 39.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.367e-05/0.179, allocations: 131.5 kB / 451 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.179, allocations: 20.67 kB / 451.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.1791, allocations: 170.8 kB / 451.2 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1792, allocations: 2.75 kB / 451.2 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1792, allocations: 7.938 kB / 451.2 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1792, allocations: 0 / 451.2 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.427e-05/0.1792, allocations: 166 kB / 451.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1792, allocations: 0 / 451.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.1793, allocations: 16.47 kB / 451.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1793, allocations: 2.875 kB / 451.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1793, allocations: 3.188 kB / 451.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1793, allocations: 2.906 kB / 451.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-07/0.1793, allocations: 0 / 451.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.1794, allocations: 185.8 kB / 451.6 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.1794, allocations: 21.72 kB / 451.6 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1794, allocations: 2.938 kB / 451.6 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.248e-05/0.1795, allocations: 10.22 kB / 451.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.1795, allocations: 13.06 kB / 451.7 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1795, allocations: 6.172 kB / 451.7 MB, free: 39.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.164e-05/0.1796, allocations: 192 kB / 451.8 MB, free: 39.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1796, allocations: 0 / 451.8 MB, free: 39.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.1798, allocations: 54.66 kB / 451.9 MB, free: 39.25 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000702/0.1805, allocations: 0.524 MB / 452.4 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.1806, allocations: 94.48 kB / 452.5 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1806, allocations: 0 / 452.5 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.135e-05/0.1807, allocations: 44.52 kB / 452.6 MB, free: 39.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.1809, allocations: 64.27 kB / 452.6 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.1812, allocations: 318.9 kB / 452.9 MB, free: 38.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.63e-05/0.1812, allocations: 117 kB / 453 MB, free: 38.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.1813, allocations: 29.55 kB / 453.1 MB, free: 38.66 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1813, allocations: 0 / 453.1 MB, free: 38.66 MB / 410.7 MB Notification: Performance of Templates: time 0.002703/0.184, allocations: 3.248 MB / 456.3 MB, free: 38.29 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.285681934095919]