Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009187/0.0009187, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005145/0.005145, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9184/0.9184, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 32.79 MB / 294.2 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 440.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.949e-05, allocations: 2.281 kB / 440.9 MB, free: 3.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002244/0.002273, allocations: 1.709 MB / 442.7 MB, free: 1.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003459, allocations: 0.9703 MB / 443.6 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.003529, allocations: 3.938 kB / 443.6 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.00382, allocations: 39.77 kB / 443.7 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.004092, allocations: 103.4 kB / 443.8 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.004245, allocations: 71.67 kB / 443.8 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.004397, allocations: 107.6 kB / 443.9 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.004495, allocations: 8 kB / 443.9 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.006e-05/0.004575, allocations: 59.81 kB / 444 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.158e-05/0.004647, allocations: 23.92 kB / 444 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.004662, allocations: 4 kB / 444 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-05/0.004752, allocations: 51.84 kB / 444.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.004808, allocations: 23.86 kB / 444.1 MB, free: 456 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.004845, allocations: 19.92 kB / 444.1 MB, free: 436 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.005023, allocations: 115.6 kB / 444.2 MB, free: 320 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005025, allocations: 0 / 444.2 MB, free: 320 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.005026, allocations: 0 / 444.2 MB, free: 320 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.005031, allocations: 4 kB / 444.2 MB, free: 316 kB / 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.1822/0.1873, allocations: 338.9 kB / 444.6 MB, free: 46.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1873, allocations: 8.5 kB / 444.6 MB, free: 46.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.1874, allocations: 10.64 kB / 444.6 MB, free: 46.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1876, allocations: 149.8 kB / 444.7 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1876, allocations: 6.688 kB / 444.7 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1877, allocations: 3.344 kB / 444.7 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1878, allocations: 52.44 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1878, allocations: 0 / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1878, allocations: 8.234 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1878, allocations: 1.531 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.403e-05/0.1879, allocations: 28.97 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.1882, allocations: 229.4 kB / 445.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1883, allocations: 57.48 kB / 445.1 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.1883, allocations: 23.89 kB / 445.1 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.1883, allocations: 0.75 kB / 445.1 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.1885, allocations: 69.11 kB / 445.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.1885, allocations: 0 / 445.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004362/0.1889, allocations: 184.4 kB / 445.4 MB, free: 46.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.1889, allocations: 59.61 kB / 445.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.189, allocations: 183.5 kB / 445.6 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.189, allocations: 25.7 kB / 445.7 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.1891, allocations: 106.4 kB / 445.8 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.1891, allocations: 24.09 kB / 445.8 MB, free: 45.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.1891, allocations: 26.31 kB / 445.8 MB, free: 45.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.643e-05/0.1892, allocations: 323.6 kB / 446.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.1892, allocations: 20.94 kB / 446.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.1892, allocations: 44.05 kB / 446.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.609e-05/0.1893, allocations: 59.73 kB / 446.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1893, allocations: 0 / 446.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001058/0.1894, allocations: 114.5 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1894, allocations: 6 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1894, allocations: 0 / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1894, allocations: 6.469 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.77e-05/0.1895, allocations: 19.92 kB / 446.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1895, allocations: 0 / 446.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/0.1896, allocations: 11.36 kB / 446.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1896, allocations: 3 kB / 446.4 MB, free: 45.56 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 6.1e-05/0.1896, allocations: 125.4 kB / 446.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.1896, allocations: 10.98 kB / 446.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.1898, allocations: 121.8 kB / 446.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1898, allocations: 3.031 kB / 446.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1898, allocations: 1.812 kB / 446.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1898, allocations: 0 / 446.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.19, allocations: 351.4 kB / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.19, allocations: 0 / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.1901, allocations: 12 kB / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1901, allocations: 0 / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1901, allocations: 7.5 kB / 447 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1901, allocations: 0 / 447 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1901, allocations: 6.844 kB / 447 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.1902, allocations: 214.4 kB / 447.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.1902, allocations: 10.81 kB / 447.2 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1902, allocations: 6.078 kB / 447.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.906e-05/0.1902, allocations: 9.562 kB / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.1903, allocations: 6.438 kB / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.1903, allocations: 6.812 kB / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.77e-05/0.1903, allocations: 140.9 kB / 447.4 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1903, allocations: 5.5 kB / 447.4 MB, free: 44.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.1905, allocations: 26.7 kB / 447.4 MB, free: 44.84 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.0008276/0.1914, allocations: 488.9 kB / 447.9 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.1915, allocations: 56.78 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1915, allocations: 3.938 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.432e-05/0.1915, allocations: 42.16 kB / 448 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.1918, allocations: 36.75 kB / 448.1 MB, free: 44.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.1921, allocations: 246.5 kB / 448.3 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.561e-05/0.1921, allocations: 84.31 kB / 448.4 MB, free: 44.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.1922, allocations: 20.14 kB / 448.4 MB, free: 44.38 MB / 410.7 MB Notification: Performance of SimCode: time 6.02e-07/0.1922, allocations: 0 / 448.4 MB, free: 44.38 MB / 410.7 MB Notification: Performance of Templates: time 0.002372/0.1945, allocations: 1.995 MB / 450.4 MB, free: 44.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.135899809189141]