Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.0009213/0.0009213, 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.004427/0.004427, allocations: 159.5 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.8954/0.8954, allocations: 177 MB / 204.9 MB, free: 5.738 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.2813/0.2813, 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 443.5 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.744e-05, allocations: 10.22 kB / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.1816/0.1816, allocations: 1.711 MB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009076/0.1825, allocations: 0.9664 MB / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.57e-05/0.1826, allocations: 6.875 kB / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.1828, allocations: 42.73 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.1831, allocations: 103.9 kB / 446.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.1832, allocations: 76.5 kB / 446.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1833, allocations: 111 kB / 446.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.607e-05/0.1834, allocations: 6.906 kB / 446.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.521e-05/0.1835, allocations: 54.11 kB / 446.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.1836, allocations: 26.3 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1836, allocations: 5.156 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.831e-05/0.1836, allocations: 51.81 kB / 446.7 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.1837, allocations: 24 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.1837, allocations: 19.91 kB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.1839, allocations: 123.2 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1839, allocations: 0.8438 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1839, allocations: 6.469 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1839, allocations: 0 / 446.8 MB, free: 42.96 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.0003581/0.1842, allocations: 348.9 kB / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.1843, allocations: 8.031 kB / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.1843, allocations: 10.61 kB / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.1845, allocations: 149.1 kB / 447.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1845, allocations: 7.609 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.1845, allocations: 2.844 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1846, allocations: 66.98 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1846, allocations: 192 / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.1846, allocations: 384 / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1847, allocations: 13.98 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.1847, allocations: 17.56 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.1849, allocations: 235.3 kB / 447.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.811e-05/0.185, allocations: 59.31 kB / 447.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.185, allocations: 20.72 kB / 447.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.1851, allocations: 2.75 kB / 447.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.368e-05/0.1852, allocations: 70.84 kB / 447.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.1852, allocations: 0 / 447.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000357/0.1855, allocations: 183.8 kB / 448 MB, free: 42.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.1855, allocations: 58.25 kB / 448.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1856, allocations: 208 kB / 448.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.1856, allocations: 28.61 kB / 448.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.1857, allocations: 109.2 kB / 448.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1857, allocations: 25.95 kB / 448.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.1857, allocations: 19.75 kB / 448.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.952e-05/0.1857, allocations: 330.8 kB / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/0.1858, allocations: 22.2 kB / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.1858, allocations: 42.95 kB / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.014e-05/0.1859, allocations: 69.16 kB / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1859, allocations: 0 / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.609e-05/0.186, allocations: 111.1 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.186, allocations: 7.875 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.186, allocations: 0 / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.186, allocations: 0 / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.521e-05/0.186, allocations: 16.39 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.1861, allocations: 2.625 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.1861, allocations: 6.75 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1861, allocations: 6.625 kB / 449 MB, free: 41.18 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 5.009e-05/0.1861, allocations: 131.2 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.1861, allocations: 12.98 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.1863, allocations: 126.4 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1863, allocations: 0 / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1863, allocations: 96 / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1863, allocations: 5.109 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.1865, allocations: 357.3 kB / 449.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1865, allocations: 0 / 449.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/0.1865, allocations: 16.84 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.1865, allocations: 0 / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1865, allocations: 2.969 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1865, allocations: 0 / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1865, allocations: 4.641 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.832e-05/0.1866, allocations: 214.9 kB / 449.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.1866, allocations: 16.72 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.1867, allocations: 5.969 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.585e-05/0.1867, allocations: 0 / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.1867, allocations: 6.156 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1867, allocations: 13.94 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.958e-05/0.1868, allocations: 156.6 kB / 450.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1868, allocations: 0 / 450.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.1869, allocations: 27.91 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.0006836/0.1876, allocations: 487.5 kB / 450.6 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.1877, allocations: 63.2 kB / 450.7 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.1877, allocations: 0 / 450.7 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.659e-05/0.1878, allocations: 32.7 kB / 450.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.188, allocations: 32.91 kB / 450.7 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.1883, allocations: 269 kB / 451 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.613e-05/0.1883, allocations: 105.3 kB / 451.1 MB, free: 39.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.1884, allocations: 16.59 kB / 451.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1884, allocations: 0 / 451.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of Templates: time 0.002523/0.1909, allocations: 2.023 MB / 453.1 MB, free: 39.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.196064276620746]