Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.0008827/0.0008827, 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.0009867/0.0009867, 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.9403/0.9403, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2938/0.2938, allocations: 32.8 MB / 293.5 MB, free: 1.227 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 3.938 kB / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.168e-05, allocations: 2.281 kB / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002259/0.00228, allocations: 1.783 MB / 441.4 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.003477, allocations: 1.056 MB / 442.5 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.454e-05/0.003562, allocations: 7.938 kB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.004176, allocations: 299.1 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.00455, allocations: 255.1 kB / 443 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.00473, allocations: 107.6 kB / 443.2 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.004952, allocations: 267.2 kB / 443.4 MB, free: 400 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.005002, allocations: 5.812 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.005141, allocations: 155.6 kB / 443.6 MB, free: 240 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.005302, allocations: 200.1 kB / 443.8 MB, free: 40 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.005321, allocations: 8 kB / 443.8 MB, free: 32 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.186/0.1914, allocations: 47.09 kB / 443.8 MB, free: 43.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002915/0.1917, allocations: 139.3 kB / 444 MB, free: 43.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.1918, allocations: 75.31 kB / 444 MB, free: 43.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006861/0.1925, allocations: 348 kB / 444.4 MB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.1925, allocations: 0 / 444.4 MB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.1925, allocations: 0 / 444.4 MB, free: 43.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1925, allocations: 0 / 444.4 MB, free: 43.79 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.0008381/0.1934, allocations: 0.6692 MB / 445 MB, free: 43.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.1934, allocations: 17.78 kB / 445.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.1935, allocations: 37.41 kB / 445.1 MB, free: 43.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.1935, allocations: 53.42 kB / 445.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.194, allocations: 379.7 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.194, allocations: 3.469 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.194, allocations: 7.344 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.1942, allocations: 93.44 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1943, allocations: 0 / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1943, allocations: 5.656 kB / 445.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1943, allocations: 2.906 kB / 445.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.582e-05/0.1944, allocations: 31.73 kB / 445.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.1947, allocations: 326.5 kB / 446 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.1949, allocations: 104.1 kB / 446.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.195, allocations: 43.45 kB / 446.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.195, allocations: 2.625 kB / 446.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.1953, allocations: 113.1 kB / 446.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.093e-06/0.1953, allocations: 3.094 kB / 446.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004544/0.1957, allocations: 213.4 kB / 446.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.1958, allocations: 83.2 kB / 446.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/0.1965, allocations: 1.028 MB / 447.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.1965, allocations: 29.45 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1966, allocations: 235.9 kB / 447.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/0.1967, allocations: 31.53 kB / 447.8 MB, free: 42.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.1967, allocations: 32.53 kB / 447.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.1968, allocations: 372.7 kB / 448.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.1969, allocations: 28.42 kB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.414e-05/0.1969, allocations: 59.8 kB / 448.3 MB, free: 41.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.197, allocations: 94.7 kB / 448.4 MB, free: 41.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.197, allocations: 0 / 448.4 MB, free: 41.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001791/0.1972, allocations: 171.8 kB / 448.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1972, allocations: 10.53 kB / 448.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1972, allocations: 3.156 kB / 448.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1972, allocations: 0 / 448.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.486e-05/0.1973, allocations: 24.03 kB / 448.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1973, allocations: 10.97 kB / 448.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.745e-05/0.1974, allocations: 8.656 kB / 448.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1974, allocations: 7.594 kB / 448.7 MB, free: 41.82 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.0001305/0.1975, allocations: 224.2 kB / 448.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.1976, allocations: 58.69 kB / 448.9 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.1978, allocations: 202.7 kB / 449.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1978, allocations: 2.938 kB / 449.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1978, allocations: 0 / 449.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1978, allocations: 2.656 kB / 449.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.198, allocations: 299.6 kB / 449.4 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.198, allocations: 0 / 449.4 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.1981, allocations: 12 kB / 449.4 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1981, allocations: 0 / 449.4 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1981, allocations: 10.81 kB / 449.4 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.1981, allocations: 8.547 kB / 449.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1981, allocations: 0 / 449.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.1983, allocations: 219.1 kB / 449.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.1984, allocations: 68.78 kB / 449.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.1984, allocations: 10.88 kB / 449.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.459e-05/0.1984, allocations: 6.094 kB / 449.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.1985, allocations: 6.141 kB / 449.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.1985, allocations: 9.844 kB / 449.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005224/0.199, allocations: 0.7691 MB / 450.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.199, allocations: 0 / 450.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002019/0.1992, allocations: 42.41 kB / 450.6 MB, free: 41.02 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.0009494/0.2002, allocations: 1.095 MB / 451.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.2004, allocations: 89.61 kB / 451.8 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2004, allocations: 0 / 451.8 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.867e-05/0.2004, allocations: 47.39 kB / 451.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.2007, allocations: 74.3 kB / 451.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.2041, allocations: 4.536 MB / 456.4 MB, free: 38.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.2043, allocations: 241.6 kB / 456.7 MB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.223e-05/0.2043, allocations: 61.73 kB / 456.7 MB, free: 38.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.2045, allocations: 154.1 kB / 456.9 MB, free: 37.95 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2045, allocations: 0 / 456.9 MB, free: 37.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.2283, allocations: 9.966 MB / 466.8 MB, free: 35.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.092/7.32, allocations: 10.31 kB / 466.8 MB, free: 35.98 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.560374163091183]