Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.0007829/0.0007829, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008115/0.0008115, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9263/0.9263, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2491/0.2491, allocations: 34.25 MB / 294.9 MB, free: 0.7266 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.Test38,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 442.3 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.246e-05, allocations: 6.281 kB / 442.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.1908/0.1908, allocations: 1.66 MB / 443.9 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.192, allocations: 0.9581 MB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.1921, allocations: 0 / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.1924, allocations: 66.89 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.1927, allocations: 108.9 kB / 445.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.1929, allocations: 80.47 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.193, allocations: 115.7 kB / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.1931, allocations: 4.547 kB / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.42e-05/0.1932, allocations: 58.06 kB / 445.3 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.1932, allocations: 46.97 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1933, allocations: 6.938 kB / 445.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.487e-05/0.1933, allocations: 32.11 kB / 445.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.1934, allocations: 16.92 kB / 445.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.1934, allocations: 21.05 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.1936, allocations: 104.8 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1936, allocations: 2.656 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1936, allocations: 0 / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1936, allocations: 0 / 445.5 MB, free: 43.02 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003642/0.1939, allocations: 331.6 kB / 445.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.194, allocations: 13.75 kB / 445.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.194, allocations: 34.69 kB / 445.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.194, allocations: 15.34 kB / 445.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.1942, allocations: 146.2 kB / 446.1 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1942, allocations: 384 / 446.1 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.1942, allocations: 8.188 kB / 446.1 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.1943, allocations: 52.92 kB / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1943, allocations: 0 / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1944, allocations: 2.75 kB / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.1944, allocations: 5.078 kB / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.433e-05/0.1944, allocations: 15.88 kB / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.1945, allocations: 160.1 kB / 446.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.932e-05/0.1946, allocations: 52.72 kB / 446.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.1947, allocations: 20.75 kB / 446.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.1947, allocations: 0 / 446.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.1948, allocations: 68.44 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.1948, allocations: 3.469 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001979/0.195, allocations: 109 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.195, allocations: 58.03 kB / 446.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.1951, allocations: 196.6 kB / 446.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.1951, allocations: 27.83 kB / 446.8 MB, free: 42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.1951, allocations: 106.8 kB / 446.9 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.1952, allocations: 10.38 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.1952, allocations: 21.97 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.829e-05/0.1952, allocations: 324.1 kB / 447.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-05/0.1953, allocations: 14.95 kB / 447.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.1953, allocations: 30.55 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.861e-05/0.1953, allocations: 51.14 kB / 447.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1953, allocations: 0 / 447.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.648e-05/0.1954, allocations: 84.53 kB / 447.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1955, allocations: 5.812 kB / 447.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1955, allocations: 0 / 447.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1955, allocations: 0 / 447.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.1955, allocations: 12.19 kB / 447.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1955, allocations: 2.562 kB / 447.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.1956, allocations: 15.2 kB / 447.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1956, allocations: 9.656 kB / 447.5 MB, free: 41.49 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 (7): * Single equations (assignments): 7 * 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.341e-05/0.1956, allocations: 123.3 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.1957, allocations: 13.55 kB / 447.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.1958, allocations: 92.2 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1958, allocations: 0 / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1958, allocations: 0 / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1958, allocations: 2.625 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.801e-05/0.1959, allocations: 155.2 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1959, allocations: 3.188 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.1959, allocations: 12.81 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1959, allocations: 9.531 kB / 447.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.1959, allocations: 0 / 447.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1959, allocations: 2.812 kB / 447.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1959, allocations: 0 / 447.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.853e-05/0.196, allocations: 118.1 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.196, allocations: 13.17 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.196, allocations: 0 / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.738e-05/0.196, allocations: 2.656 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.1961, allocations: 6.016 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1961, allocations: 2.781 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.991e-05/0.1961, allocations: 156.3 kB / 448.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1961, allocations: 0 / 448.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.1963, allocations: 17.25 kB / 448.2 MB, free: 41.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007761/0.1971, allocations: 0.9995 MB / 449.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.1972, allocations: 41.47 kB / 449.3 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1972, allocations: 0 / 449.3 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.391e-05/0.1972, allocations: 24.3 kB / 449.3 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.1974, allocations: 31.22 kB / 449.3 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.1982, allocations: 1.528 MB / 450.8 MB, free: 39.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.229e-05/0.1983, allocations: 85.69 kB / 450.9 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.91e-05/0.1983, allocations: 13.19 kB / 450.9 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.1984, allocations: 33.44 kB / 451 MB, free: 39 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1984, allocations: 0 / 451 MB, free: 39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.2149, allocations: 3.977 MB / 454.9 MB, free: 37.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.879/7.094, allocations: 0 / 454.9 MB, free: 37.63 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.252267567440867]