Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001099/0.001099, 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.005627/0.005627, allocations: 160.6 kB / 24.7 MB, free: 9.43 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.8708/0.8708, 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.2294/0.2294, allocations: 32.8 MB / 294.2 MB, free: 1.184 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 440.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.701e-05, allocations: 2.844 kB / 440.9 MB, free: 3.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002849/0.002876, allocations: 1.717 MB / 442.7 MB, free: 1.895 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.004303, allocations: 0.9742 MB / 443.6 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.949e-05/0.004373, allocations: 3.938 kB / 443.6 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.004652, allocations: 47.75 kB / 443.7 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.004967, allocations: 107.4 kB / 443.8 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.005154, allocations: 75.66 kB / 443.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.005318, allocations: 107.6 kB / 444 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.005418, allocations: 7.984 kB / 444 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.005502, allocations: 55.83 kB / 444 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.005578, allocations: 23.91 kB / 444 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.005595, allocations: 8 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.005697, allocations: 43.92 kB / 444.1 MB, free: 452 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.005761, allocations: 35.78 kB / 444.1 MB, free: 416 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.005802, allocations: 15.94 kB / 444.1 MB, free: 400 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.005983, allocations: 135.5 kB / 444.3 MB, free: 264 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005985, allocations: 0 / 444.3 MB, free: 264 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.005986, allocations: 0 / 444.3 MB, free: 264 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.005991, allocations: 0 / 444.3 MB, free: 264 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.1858/0.1918, allocations: 356.5 kB / 444.6 MB, free: 46.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1919, allocations: 8.938 kB / 444.6 MB, free: 46.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.1919, allocations: 14.72 kB / 444.7 MB, free: 46.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.1922, allocations: 152.3 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1922, allocations: 3.25 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1922, allocations: 3.281 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.1923, allocations: 60.58 kB / 444.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1923, allocations: 0 / 444.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1923, allocations: 0.625 kB / 444.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1923, allocations: 5.781 kB / 444.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.298e-05/0.1924, allocations: 27.75 kB / 444.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.1927, allocations: 242.5 kB / 445.1 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.1928, allocations: 53.39 kB / 445.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.1928, allocations: 22.81 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.1928, allocations: 0.8125 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.1929, allocations: 68.12 kB / 445.3 MB, free: 46.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1929, allocations: 0 / 445.3 MB, free: 46.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003815/0.1933, allocations: 193 kB / 445.5 MB, free: 46.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.1933, allocations: 51.41 kB / 445.5 MB, free: 46.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1934, allocations: 238.3 kB / 445.8 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.1935, allocations: 31.94 kB / 445.8 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.1935, allocations: 109.9 kB / 445.9 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.1935, allocations: 23.08 kB / 445.9 MB, free: 45.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.1935, allocations: 32.16 kB / 445.9 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.1936, allocations: 320.1 kB / 446.3 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-05/0.1936, allocations: 27.02 kB / 446.3 MB, free: 45.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.1937, allocations: 36.08 kB / 446.3 MB, free: 45.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.897e-05/0.1937, allocations: 62.83 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1937, allocations: 0 / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001047/0.1938, allocations: 115.9 kB / 446.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.1938, allocations: 5.031 kB / 446.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1938, allocations: 1.938 kB / 446.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1939, allocations: 3.469 kB / 446.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.1939, allocations: 24.75 kB / 446.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1939, allocations: 0 / 446.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.194, allocations: 2.562 kB / 446.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.194, allocations: 9.328 kB / 446.5 MB, free: 45.54 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.412e-05/0.194, allocations: 131.1 kB / 446.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.194, allocations: 17.78 kB / 446.7 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.1942, allocations: 125.8 kB / 446.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1942, allocations: 2.719 kB / 446.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1942, allocations: 2.188 kB / 446.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.1942, allocations: 0 / 446.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.1944, allocations: 355.3 kB / 447.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1944, allocations: 4.844 kB / 447.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/0.1944, allocations: 15.31 kB / 447.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1944, allocations: 0 / 447.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.1944, allocations: 6.906 kB / 447.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1944, allocations: 0 / 447.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1944, allocations: 3.812 kB / 447.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.1945, allocations: 218.3 kB / 447.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.1946, allocations: 13.72 kB / 447.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1946, allocations: 3.281 kB / 447.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.797e-05/0.1946, allocations: 6.906 kB / 447.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.1946, allocations: 10.16 kB / 447.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1946, allocations: 2.906 kB / 447.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.39e-05/0.1947, allocations: 181.1 kB / 447.6 MB, free: 44.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1947, allocations: 1.688 kB / 447.6 MB, free: 44.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001721/0.1949, allocations: 27.55 kB / 447.6 MB, free: 44.77 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.0007486/0.1956, allocations: 496.9 kB / 448.1 MB, free: 44.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1958, allocations: 66.86 kB / 448.2 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1958, allocations: 8.062 kB / 448.2 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.1958, allocations: 25.48 kB / 448.2 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.196, allocations: 34.03 kB / 448.3 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.1963, allocations: 295 kB / 448.5 MB, free: 44.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.022e-05/0.1964, allocations: 94.92 kB / 448.6 MB, free: 44.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.1964, allocations: 20.61 kB / 448.7 MB, free: 44.32 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1964, allocations: 64 / 448.7 MB, free: 44.32 MB / 410.7 MB Notification: Performance of Templates: time 0.002295/0.1987, allocations: 2.091 MB / 450.8 MB, free: 44.08 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.783210054971278]