Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.000861/0.000861, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001204/0.001204, allocations: 170 kB / 23.95 MB, free: 0.6094 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.938/0.938, allocations: 177.2 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2519/0.2519, allocations: 34.25 MB / 294.9 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 3.938 kB / 442.2 MB, free: 1.602 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.785e-05, allocations: 2.844 kB / 442.3 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.19/0.19, allocations: 1.786 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1912, allocations: 1.051 MB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.1912, allocations: 3.062 kB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.1916, allocations: 314 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.192, allocations: 261.2 kB / 445.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.1921, allocations: 109 kB / 445.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1923, allocations: 264.8 kB / 446 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.1924, allocations: 11.25 kB / 446 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1925, allocations: 154.3 kB / 446.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.1926, allocations: 207.5 kB / 446.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.1927, allocations: 8.562 kB / 446.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.415e-05/0.1927, allocations: 43.78 kB / 446.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/0.1928, allocations: 151.4 kB / 446.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.1929, allocations: 71.88 kB / 446.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1931, allocations: 364.7 kB / 447 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1931, allocations: 0 / 447 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1931, allocations: 0 / 447 MB, free: 42.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1931, allocations: 0 / 447 MB, free: 42.75 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.0005523/0.1937, allocations: 0.6784 MB / 447.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1937, allocations: 11.16 kB / 447.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.713e-05/0.1938, allocations: 30.75 kB / 447.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.1938, allocations: 55.52 kB / 447.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.1942, allocations: 396.5 kB / 448.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.1942, allocations: 8.797 kB / 448.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.1943, allocations: 3.219 kB / 448.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1944, allocations: 86.55 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1944, allocations: 0 / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1944, allocations: 6.938 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1944, allocations: 2.812 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.237e-05/0.1945, allocations: 38.28 kB / 448.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.1948, allocations: 327.6 kB / 448.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1949, allocations: 101 kB / 448.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/0.195, allocations: 37.84 kB / 448.8 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.195, allocations: 7.359 kB / 448.8 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.1951, allocations: 122.9 kB / 448.9 MB, free: 41.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 9.11e-07/0.1952, allocations: 4 kB / 448.9 MB, free: 41.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003011/0.1955, allocations: 205.5 kB / 449.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.1955, allocations: 81.11 kB / 449.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006239/0.1961, allocations: 1.058 MB / 450.2 MB, free: 40.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.1961, allocations: 33.03 kB / 450.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.1962, allocations: 239.8 kB / 450.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.1962, allocations: 33.73 kB / 450.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.1963, allocations: 29.62 kB / 450.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.1963, allocations: 377.3 kB / 450.9 MB, free: 40.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/0.1964, allocations: 29.77 kB / 451 MB, free: 40.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.176e-05/0.1964, allocations: 54.22 kB / 451 MB, free: 40.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.835e-05/0.1965, allocations: 97.41 kB / 451.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1965, allocations: 0 / 451.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001634/0.1967, allocations: 176.3 kB / 451.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1967, allocations: 5.938 kB / 451.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1967, allocations: 6.875 kB / 451.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1967, allocations: 0 / 451.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.073e-05/0.1968, allocations: 24.3 kB / 451.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1968, allocations: 2.688 kB / 451.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.99e-05/0.1969, allocations: 20.09 kB / 451.3 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1969, allocations: 2.938 kB / 451.3 MB, free: 40.13 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.0001283/0.197, allocations: 224.8 kB / 451.6 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.1971, allocations: 59.81 kB / 451.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.1973, allocations: 206 kB / 451.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1973, allocations: 6.906 kB / 451.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1973, allocations: 0 / 451.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1973, allocations: 6.359 kB / 451.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.1975, allocations: 287.1 kB / 452.1 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1975, allocations: 0 / 452.1 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.1975, allocations: 8.969 kB / 452.1 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1975, allocations: 8.031 kB / 452.1 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1975, allocations: 3.281 kB / 452.1 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1975, allocations: 2.719 kB / 452.1 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1975, allocations: 3.938 kB / 452.1 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.1977, allocations: 224.2 kB / 452.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.1978, allocations: 68.8 kB / 452.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.1978, allocations: 6.719 kB / 452.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.948e-05/0.1978, allocations: 2.75 kB / 452.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.1979, allocations: 16.02 kB / 452.5 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1979, allocations: 2.969 kB / 452.5 MB, free: 39.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004493/0.1983, allocations: 0.7941 MB / 453.2 MB, free: 39.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1983, allocations: 2.062 kB / 453.3 MB, free: 39.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.1985, allocations: 48.12 kB / 453.3 MB, free: 39.19 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.001031/0.1996, allocations: 1.102 MB / 454.4 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.1997, allocations: 90.08 kB / 454.5 MB, free: 38.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.1997, allocations: 0 / 454.5 MB, free: 38.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.079e-05/0.1998, allocations: 48.8 kB / 454.5 MB, free: 38.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.2001, allocations: 71.14 kB / 454.6 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.2042, allocations: 4.635 MB / 459.2 MB, free: 36.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.2043, allocations: 240.8 kB / 459.5 MB, free: 36.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.2044, allocations: 56.44 kB / 459.5 MB, free: 36.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.2045, allocations: 158.3 kB / 459.7 MB, free: 36.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/0.2045, allocations: 4 kB / 459.7 MB, free: 36.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.2281, allocations: 10.12 MB / 469.8 MB, free: 34.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.389, allocations: 20.39 kB / 469.8 MB, free: 34.03 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56986 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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: 9.545538827776909]