Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.0008877/0.0008877, 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.003435/0.003435, allocations: 163.2 kB / 24.7 MB, free: 9.426 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.8721/0.8721, allocations: 177.1 MB / 205 MB, free: 5.73 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.2246/0.2246, allocations: 32.79 MB / 294.2 MB, free: 1.223 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 440.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.344e-05, allocations: 7.625 kB / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.00206/0.002084, allocations: 1.714 MB / 442.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.003951, allocations: 1.672 MB / 444.3 MB, free: 256 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.004021, allocations: 0 / 444.3 MB, free: 256 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.004297, allocations: 35.7 kB / 444.4 MB, free: 220 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.004592, allocations: 115.3 kB / 444.5 MB, free: 104 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.004719, allocations: 67.69 kB / 444.5 MB, free: 36 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1838/0.1885, allocations: 111.3 kB / 444.6 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1886, allocations: 4.469 kB / 444.7 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1887, allocations: 58.38 kB / 444.7 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1888, allocations: 37.92 kB / 444.7 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1888, allocations: 7.688 kB / 444.8 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.189, allocations: 102.8 kB / 444.9 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.1891, allocations: 24.91 kB / 444.9 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.1891, allocations: 14 kB / 444.9 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.1893, allocations: 180.9 kB / 445.1 MB, free: 43.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1893, allocations: 8.969 kB / 445.1 MB, free: 43.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1893, allocations: 0 / 445.1 MB, free: 43.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1893, allocations: 0 / 445.1 MB, free: 43.86 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.0003686/0.1897, allocations: 359.2 kB / 445.4 MB, free: 43.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1897, allocations: 8.75 kB / 445.4 MB, free: 43.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.1898, allocations: 11.12 kB / 445.4 MB, free: 43.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.19, allocations: 147.6 kB / 445.6 MB, free: 43.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.19, allocations: 5.312 kB / 445.6 MB, free: 43.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.19, allocations: 7.578 kB / 445.6 MB, free: 43.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.1901, allocations: 100.6 kB / 445.7 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1902, allocations: 0 / 445.7 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1902, allocations: 3.281 kB / 445.7 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1902, allocations: 3.5 kB / 445.7 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.413e-05/0.1902, allocations: 22.08 kB / 445.7 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.1904, allocations: 225.8 kB / 445.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.1905, allocations: 69.19 kB / 446 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.1906, allocations: 23.41 kB / 446 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.1906, allocations: 2.719 kB / 446 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.202e-05/0.1907, allocations: 66.53 kB / 446.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.1907, allocations: 0 / 446.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003547/0.191, allocations: 180.1 kB / 446.3 MB, free: 43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.191, allocations: 79.95 kB / 446.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.1911, allocations: 166.8 kB / 446.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.1911, allocations: 29.33 kB / 446.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.1912, allocations: 99.42 kB / 446.7 MB, free: 42.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.1912, allocations: 23.3 kB / 446.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.1912, allocations: 28.7 kB / 446.7 MB, free: 42.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.769e-05/0.1912, allocations: 324.4 kB / 447 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.1913, allocations: 23.83 kB / 447 MB, free: 42.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.1913, allocations: 66.25 kB / 447.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.942e-05/0.1914, allocations: 65.72 kB / 447.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1914, allocations: 5 kB / 447.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.382e-05/0.1915, allocations: 107.5 kB / 447.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.1915, allocations: 5.938 kB / 447.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1915, allocations: 0 / 447.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1915, allocations: 7.172 kB / 447.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.833e-05/0.1915, allocations: 18.75 kB / 447.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1916, allocations: 0.5 kB / 447.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.1916, allocations: 6.219 kB / 447.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1916, allocations: 8.844 kB / 447.3 MB, free: 42.23 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.557e-05/0.1916, allocations: 120.9 kB / 447.4 MB, free: 42.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.1916, allocations: 11.64 kB / 447.5 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.1918, allocations: 116.2 kB / 447.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1918, allocations: 6.875 kB / 447.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1918, allocations: 3 kB / 447.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1918, allocations: 0 / 447.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.192, allocations: 355.3 kB / 447.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.192, allocations: 0 / 447.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.192, allocations: 12 kB / 447.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.192, allocations: 3.375 kB / 447.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.192, allocations: 6.844 kB / 447.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.192, allocations: 0 / 447.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.192, allocations: 3.031 kB / 448 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.1921, allocations: 214.2 kB / 448.2 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.1921, allocations: 6.172 kB / 448.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.1922, allocations: 6.906 kB / 448.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.1922, allocations: 8.375 kB / 448.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.1922, allocations: 6.516 kB / 448.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1922, allocations: 9.188 kB / 448.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.824e-05/0.1923, allocations: 131.5 kB / 448.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1923, allocations: 2.938 kB / 448.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000175/0.1925, allocations: 47.64 kB / 448.4 MB, free: 41.59 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.0007945/0.1933, allocations: 0.598 MB / 449 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.1934, allocations: 57.7 kB / 449 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1934, allocations: 0 / 449 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.823e-05/0.1934, allocations: 30.27 kB / 449.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.1936, allocations: 34.39 kB / 449.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.1939, allocations: 227.3 kB / 449.3 MB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.199e-05/0.1939, allocations: 95.86 kB / 449.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.194, allocations: 22.55 kB / 449.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.194, allocations: 0 / 449.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of Templates: time 0.002433/0.1964, allocations: 2.474 MB / 451.9 MB, free: 40.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.052729660645127]