Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.001422/0.001422, allocations: 88.2 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001517/0.001517, allocations: 158.7 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.551/1.551, allocations: 177 MB / 204.1 MB, free: 9.125 MB / 190.1 MB " [Timeout remaining time 178] 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.2289/0.2289, allocations: 34.25 MB / 294.8 MB, free: 14.49 MB / 286.1 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 442.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.702e-05, allocations: 6.281 kB / 442.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003496/0.003523, allocations: 1.874 MB / 444.6 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.005907, allocations: 1.075 MB / 445.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.834e-05/0.006005, allocations: 4 kB / 445.7 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.006584, allocations: 227.2 kB / 445.9 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006164/0.007201, allocations: 231.1 kB / 446.2 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.007527, allocations: 107.6 kB / 446.3 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.007904, allocations: 267.2 kB / 446.5 MB, free: 1.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.008024, allocations: 17.95 kB / 446.5 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.008255, allocations: 143.6 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.008528, allocations: 159.6 kB / 446.8 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.00856, allocations: 11.94 kB / 446.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.008703, allocations: 71.91 kB / 446.9 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.008812, allocations: 63.77 kB / 447 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.238e-05/0.008884, allocations: 43.8 kB / 447 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.009245, allocations: 247 kB / 447.3 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.00925, allocations: 3.984 kB / 447.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.009251, allocations: 0 / 447.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.009256, allocations: 0 / 447.3 MB, free: 0.6094 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007644/0.01002, allocations: 0.4886 MB / 447.8 MB, free: 92 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.01005, allocations: 8.031 kB / 447.8 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/0.01012, allocations: 28.75 kB / 447.8 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.168/0.1781, allocations: 224.7 kB / 448 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.1781, allocations: 4.031 kB / 448 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.1782, allocations: 10.06 kB / 448 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.1785, allocations: 109.6 kB / 448.1 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.1785, allocations: 2.766 kB / 448.1 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1785, allocations: 5.922 kB / 448.1 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1785, allocations: 2.469 kB / 448.1 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.1787, allocations: 51.55 kB / 448.2 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.1792, allocations: 412.5 kB / 448.6 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.1797, allocations: 124.5 kB / 448.7 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1798, allocations: 46.16 kB / 448.8 MB, free: 18.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1798, allocations: 4.172 kB / 448.8 MB, free: 18.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.18, allocations: 125.7 kB / 448.9 MB, free: 18.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.18, allocations: 3.688 kB / 448.9 MB, free: 18.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001327/0.1814, allocations: 0.5178 MB / 449.4 MB, free: 18.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.1814, allocations: 87.59 kB / 449.5 MB, free: 18.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.1818, allocations: 452.8 kB / 449.9 MB, free: 18.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1818, allocations: 32.52 kB / 450 MB, free: 18.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.121e-05/0.1819, allocations: 155.9 kB / 450.1 MB, free: 18.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.261e-05/0.182, allocations: 85.69 kB / 450.2 MB, free: 18.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.182, allocations: 40.95 kB / 450.3 MB, free: 18.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.175e-05/0.1821, allocations: 348.6 kB / 450.6 MB, free: 17.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.1822, allocations: 62.12 kB / 450.7 MB, free: 17.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.1824, allocations: 91.59 kB / 450.7 MB, free: 17.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.1826, allocations: 166 kB / 450.9 MB, free: 17.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1826, allocations: 4.594 kB / 450.9 MB, free: 17.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003798/0.183, allocations: 237.5 kB / 451.1 MB, free: 17.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.183, allocations: 7.062 kB / 451.1 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.183, allocations: 1.312 kB / 451.1 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/0.1831, allocations: 1.281 kB / 451.2 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.1832, allocations: 44.67 kB / 451.2 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1832, allocations: 2.375 kB / 451.2 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.141e-05/0.1833, allocations: 14.92 kB / 451.2 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.1833, allocations: 5.844 kB / 451.2 MB, free: 17.49 MB / 366.1 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001329/0.1835, allocations: 175.2 kB / 451.4 MB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.1835, allocations: 35.39 kB / 451.4 MB, free: 17.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/0.184, allocations: 281.6 kB / 451.7 MB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1841, allocations: 3.406 kB / 451.7 MB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1841, allocations: 0 / 451.7 MB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1841, allocations: 2.906 kB / 451.7 MB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008024/0.1849, allocations: 0.6827 MB / 452.4 MB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1849, allocations: 1.469 kB / 452.4 MB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.732e-05/0.185, allocations: 33.81 kB / 452.4 MB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.185, allocations: 2.75 kB / 452.4 MB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.185, allocations: 10.72 kB / 452.4 MB, free: 16.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.185, allocations: 9.516 kB / 452.4 MB, free: 16.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.185, allocations: 7.562 kB / 452.5 MB, free: 16.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.1854, allocations: 434.8 kB / 452.9 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.1855, allocations: 30.8 kB / 452.9 MB, free: 16.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.1855, allocations: 12.81 kB / 452.9 MB, free: 16.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.1857, allocations: 10.66 kB / 452.9 MB, free: 16.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/0.1858, allocations: 21.67 kB / 452.9 MB, free: 16.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.1858, allocations: 13.42 kB / 453 MB, free: 16.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00035/0.1861, allocations: 341.4 kB / 453.3 MB, free: 16.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1861, allocations: 1.375 kB / 453.3 MB, free: 16.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003799/0.1865, allocations: 51.45 kB / 453.3 MB, free: 16.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.002076/0.1886, allocations: 0.5358 MB / 453.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003577/0.189, allocations: 168.2 kB / 454 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.189, allocations: 3.938 kB / 454.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.1891, allocations: 75.14 kB / 454.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/0.1897, allocations: 66.7 kB / 454.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008028/0.1905, allocations: 0.5621 MB / 454.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.1907, allocations: 177.7 kB / 454.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.1908, allocations: 46.78 kB / 455 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.1908, allocations: 33.8 kB / 455 MB, free: 15.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1908, allocations: 0 / 455 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Templates: time 0.007951/0.1988, allocations: 3.316 MB / 458.3 MB, free: 14.98 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.009024184197187]