Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.0009225/0.0009225, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.00483/0.00483, allocations: 161 kB / 24.7 MB, free: 9.41 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.8787/0.8787, allocations: 177.1 MB / 205 MB, free: 5.734 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.2449/0.2449, allocations: 32.79 MB / 294.2 MB, free: 1.203 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 440.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.303e-05, allocations: 6.219 kB / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002081/0.002104, allocations: 1.718 MB / 442.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.003324, allocations: 0.9664 MB / 443.6 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.003397, allocations: 11.94 kB / 443.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.003655, allocations: 35.75 kB / 443.7 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.003925, allocations: 107.4 kB / 443.8 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.00408, allocations: 75.67 kB / 443.8 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.004229, allocations: 107.6 kB / 443.9 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.004323, allocations: 7.984 kB / 444 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.826e-05/0.004402, allocations: 55.83 kB / 444 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.00447, allocations: 23.92 kB / 444 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.004489, allocations: 4 kB / 444 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.026e-05/0.00457, allocations: 51.84 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.004617, allocations: 23.86 kB / 444.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.004649, allocations: 19.92 kB / 444.1 MB, free: 452 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.004819, allocations: 123.5 kB / 444.3 MB, free: 328 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004821, allocations: 0 / 444.3 MB, free: 328 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004822, allocations: 0 / 444.3 MB, free: 328 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.004826, allocations: 0 / 444.3 MB, free: 328 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.1878/0.1926, allocations: 340.3 kB / 444.6 MB, free: 46.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1927, allocations: 8.344 kB / 444.6 MB, free: 46.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.1927, allocations: 16.55 kB / 444.6 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.193, allocations: 142.9 kB / 444.7 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.193, allocations: 5.25 kB / 444.8 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.193, allocations: 3.75 kB / 444.8 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1932, allocations: 60.11 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1932, allocations: 3.062 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1932, allocations: 0.5625 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1932, allocations: 0 / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.559e-05/0.1933, allocations: 29.84 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.1936, allocations: 235.6 kB / 445.1 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.1937, allocations: 54.64 kB / 445.1 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.1937, allocations: 19.31 kB / 445.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1937, allocations: 3.406 kB / 445.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.1938, allocations: 71.64 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1938, allocations: 0 / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004321/0.1943, allocations: 186.3 kB / 445.4 MB, free: 46.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.1943, allocations: 54.97 kB / 445.5 MB, free: 46.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1944, allocations: 200.8 kB / 445.7 MB, free: 46.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.1944, allocations: 33.52 kB / 445.7 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.1945, allocations: 103.7 kB / 445.8 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1945, allocations: 26.91 kB / 445.8 MB, free: 46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.1945, allocations: 19.16 kB / 445.8 MB, free: 45.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.1946, allocations: 327.2 kB / 446.2 MB, free: 45.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.582e-05/0.1946, allocations: 21.7 kB / 446.2 MB, free: 45.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.825e-05/0.1947, allocations: 42.34 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.845e-05/0.1947, allocations: 61.97 kB / 446.3 MB, free: 45.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1947, allocations: 0 / 446.3 MB, free: 45.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001107/0.1948, allocations: 112.9 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1949, allocations: 5.812 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1949, allocations: 0 / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1949, allocations: 6.312 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.1949, allocations: 19.03 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.195, allocations: 6.469 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.195, allocations: 0 / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.195, allocations: 6.562 kB / 446.4 MB, free: 45.6 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.106e-05/0.1951, allocations: 125.8 kB / 446.6 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.1951, allocations: 11.45 kB / 446.6 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.1952, allocations: 124.3 kB / 446.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1952, allocations: 2.719 kB / 446.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1952, allocations: 0 / 446.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1952, allocations: 6.969 kB / 446.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.1955, allocations: 352.5 kB / 447 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1955, allocations: 5.625 kB / 447 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.1955, allocations: 11.25 kB / 447.1 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1955, allocations: 0 / 447.1 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1955, allocations: 6.688 kB / 447.1 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1955, allocations: 0 / 447.1 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1956, allocations: 2.625 kB / 447.1 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.1957, allocations: 217.6 kB / 447.3 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.1957, allocations: 13.09 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1957, allocations: 3 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.884e-05/0.1957, allocations: 3.234 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.1958, allocations: 17.25 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1958, allocations: 5.625 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.536e-05/0.1958, allocations: 149.9 kB / 447.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1958, allocations: 1.688 kB / 447.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.196, allocations: 24.38 kB / 447.5 MB, free: 44.86 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.0007984/0.1968, allocations: 492.6 kB / 448 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.197, allocations: 68.97 kB / 448 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.197, allocations: 3.938 kB / 448 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.194e-05/0.197, allocations: 25.31 kB / 448.1 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.1972, allocations: 26.81 kB / 448.1 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.1976, allocations: 268.3 kB / 448.4 MB, free: 44.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.31e-05/0.1977, allocations: 99.62 kB / 448.5 MB, free: 44.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.1977, allocations: 20.14 kB / 448.5 MB, free: 44.4 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1977, allocations: 0 / 448.5 MB, free: 44.4 MB / 410.7 MB Notification: Performance of Templates: time 0.002668/0.2004, allocations: 2.018 MB / 450.5 MB, free: 44.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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: 4.9214458568021655]