Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.0009542/0.0009542, 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.007268/0.007268, allocations: 155.4 kB / 24.7 MB, free: 8.355 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.9058/0.9058, allocations: 177 MB / 204.9 MB, free: 5.746 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.2349/0.2349, allocations: 34.24 MB / 295.6 MB, free: 0.6836 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 443.5 MB, free: 1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.346e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.1916/0.1916, allocations: 1.795 MB / 445.3 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1927, allocations: 1.048 MB / 446.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.784e-05/0.1928, allocations: 3.938 kB / 446.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.1932, allocations: 307.6 kB / 446.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.1935, allocations: 262.8 kB / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.1937, allocations: 108.8 kB / 447 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.1939, allocations: 269.1 kB / 447.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/0.1939, allocations: 8.844 kB / 447.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.194, allocations: 151.4 kB / 447.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1942, allocations: 209.1 kB / 447.6 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1942, allocations: 9.719 kB / 447.6 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.1943, allocations: 53.03 kB / 447.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.663e-05/0.1944, allocations: 149 kB / 447.8 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.1945, allocations: 64.56 kB / 447.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.1947, allocations: 357.1 kB / 448.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1947, allocations: 0 / 448.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1947, allocations: 2.781 kB / 448.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1947, allocations: 0 / 448.2 MB, free: 42.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000579/0.1953, allocations: 0.681 MB / 448.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1953, allocations: 8.594 kB / 448.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.1954, allocations: 59.62 kB / 449 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.1958, allocations: 393.4 kB / 449.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1958, allocations: 3.516 kB / 449.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.1958, allocations: 3.188 kB / 449.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1959, allocations: 86.67 kB / 449.5 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1959, allocations: 3.656 kB / 449.5 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.196, allocations: 3.094 kB / 449.5 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.196, allocations: 3.938 kB / 449.5 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.761e-05/0.196, allocations: 39.62 kB / 449.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.1963, allocations: 306.1 kB / 449.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1964, allocations: 102 kB / 449.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.1965, allocations: 41.89 kB / 450 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.1965, allocations: 3.562 kB / 450 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.1966, allocations: 111.3 kB / 450.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1966, allocations: 3.938 kB / 450.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002827/0.1969, allocations: 211.7 kB / 450.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.1969, allocations: 84.98 kB / 450.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/0.1975, allocations: 1.059 MB / 451.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.1975, allocations: 29.7 kB / 451.4 MB, free: 40.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.1976, allocations: 244.4 kB / 451.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1976, allocations: 36.73 kB / 451.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.1977, allocations: 26.31 kB / 451.7 MB, free: 40.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.1977, allocations: 373.9 kB / 452.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/0.1978, allocations: 27.78 kB / 452.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.71e-05/0.1978, allocations: 58.58 kB / 452.2 MB, free: 40.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.348e-05/0.1979, allocations: 93.58 kB / 452.3 MB, free: 39.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1979, allocations: 2.719 kB / 452.3 MB, free: 39.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001544/0.1981, allocations: 175.5 kB / 452.5 MB, free: 39.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1981, allocations: 5.719 kB / 452.5 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1981, allocations: 0 / 452.5 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1981, allocations: 2.812 kB / 452.5 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.1982, allocations: 31.66 kB / 452.5 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1982, allocations: 5.484 kB / 452.5 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.1983, allocations: 14.8 kB / 452.5 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1983, allocations: 5.75 kB / 452.5 MB, free: 39.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001173/0.1984, allocations: 228.9 kB / 452.8 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.1984, allocations: 56.08 kB / 452.8 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.1986, allocations: 210.6 kB / 453 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1986, allocations: 2.906 kB / 453 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1986, allocations: 3.938 kB / 453 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1986, allocations: 0 / 453 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.1988, allocations: 267.6 kB / 453.3 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1988, allocations: 0 / 453.3 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.1988, allocations: 20.34 kB / 453.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1988, allocations: 2.812 kB / 453.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1988, allocations: 6.906 kB / 453.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1988, allocations: 0 / 453.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1988, allocations: 0 / 453.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.199, allocations: 226 kB / 453.5 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.199, allocations: 60.11 kB / 453.6 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.1991, allocations: 6.719 kB / 453.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.1991, allocations: 6.234 kB / 453.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.1991, allocations: 13.33 kB / 453.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1992, allocations: 6.906 kB / 453.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004394/0.1996, allocations: 0.792 MB / 454.4 MB, free: 38.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1996, allocations: 6.781 kB / 454.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.1998, allocations: 48.3 kB / 454.5 MB, free: 38.96 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006813/0.2004, allocations: 431.5 kB / 454.9 MB, free: 38.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.2006, allocations: 88.58 kB / 455 MB, free: 38.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2006, allocations: 2.844 kB / 455 MB, free: 38.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.577e-05/0.2007, allocations: 41.19 kB / 455 MB, free: 38.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.2009, allocations: 77.56 kB / 455.1 MB, free: 38.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007777/0.2017, allocations: 0.9363 MB / 456 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.2018, allocations: 243.8 kB / 456.3 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.2019, allocations: 30.25 kB / 456.3 MB, free: 38.19 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.2019, allocations: 3.938 kB / 456.3 MB, free: 38.19 MB / 410.7 MB Notification: Performance of Templates: time 0.004371/0.2062, allocations: 5.365 MB / 461.7 MB, free: 37.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.891187522560358]