Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001214/0.001214, 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.001384/0.001384, allocations: 170 kB / 23.95 MB, free: 0.6055 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.9388/0.9388, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2596/0.2596, allocations: 34.25 MB / 294.9 MB, free: 0.7188 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.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 442.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.392e-05, allocations: 4.812 kB / 442.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.1936/0.1937, allocations: 1.711 MB / 444 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1949, allocations: 0.9763 MB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.195, allocations: 2.656 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.1953, allocations: 37.34 kB / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.1955, allocations: 103.4 kB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.1956, allocations: 75.64 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.1958, allocations: 113.2 kB / 445.3 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.355e-05/0.1959, allocations: 7.031 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.362e-05/0.1959, allocations: 54.48 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.196, allocations: 30.33 kB / 445.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.196, allocations: 3.125 kB / 445.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.202e-05/0.1961, allocations: 41.58 kB / 445.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.1961, allocations: 27.73 kB / 445.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.1962, allocations: 22.7 kB / 445.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1963, allocations: 118.4 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1963, allocations: 0 / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1963, allocations: 2.812 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1963, allocations: 0 / 445.6 MB, free: 42.91 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000362/0.1967, allocations: 341.4 kB / 445.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1967, allocations: 8.531 kB / 445.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.571e-05/0.1968, allocations: 40.56 kB / 446 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.1968, allocations: 14.44 kB / 446 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.197, allocations: 147.5 kB / 446.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.197, allocations: 384 / 446.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.197, allocations: 10.31 kB / 446.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1971, allocations: 58.39 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1971, allocations: 0 / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1972, allocations: 0 / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1972, allocations: 0 / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.937e-05/0.1972, allocations: 25.5 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.1975, allocations: 260.4 kB / 446.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.1976, allocations: 62.97 kB / 446.5 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.1976, allocations: 20.56 kB / 446.5 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.1976, allocations: 6.5 kB / 446.5 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.1977, allocations: 68.5 kB / 446.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1977, allocations: 0 / 446.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004412/0.1982, allocations: 183.1 kB / 446.8 MB, free: 42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.1982, allocations: 54.31 kB / 446.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1983, allocations: 198.6 kB / 447 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.1983, allocations: 32.23 kB / 447.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.1984, allocations: 109.4 kB / 447.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.1984, allocations: 25.55 kB / 447.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.1984, allocations: 22.38 kB / 447.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.1984, allocations: 330.3 kB / 447.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.126e-05/0.1985, allocations: 21.69 kB / 447.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.496e-05/0.1985, allocations: 38.5 kB / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.377e-05/0.1986, allocations: 57.95 kB / 447.7 MB, free: 41.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1986, allocations: 4 kB / 447.7 MB, free: 41.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.966e-05/0.1987, allocations: 110.8 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1987, allocations: 5.969 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1987, allocations: 0 / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1987, allocations: 0 / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.968e-05/0.1988, allocations: 18.16 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1988, allocations: 2.156 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.1988, allocations: 5.859 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1988, allocations: 2.938 kB / 447.8 MB, free: 41.29 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.557e-05/0.1989, allocations: 134.4 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.1989, allocations: 12.66 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.199, allocations: 122.2 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.199, allocations: 3.281 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.199, allocations: 0 / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.199, allocations: 2.5 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.1993, allocations: 374.8 kB / 448.4 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1993, allocations: 0 / 448.4 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/0.1993, allocations: 14.17 kB / 448.5 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1993, allocations: 4.031 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1993, allocations: 0 / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1993, allocations: 6.719 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1993, allocations: 3.938 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.977e-05/0.1994, allocations: 214.8 kB / 448.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.1994, allocations: 13.62 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1994, allocations: 4 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.733e-05/0.1995, allocations: 6.172 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1995, allocations: 10.08 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1995, allocations: 6.031 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.147e-05/0.1996, allocations: 158.2 kB / 448.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1996, allocations: 0 / 448.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.1997, allocations: 28.8 kB / 448.9 MB, free: 40.51 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.000883/0.2006, allocations: 1.137 MB / 450 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.2007, allocations: 66.53 kB / 450.1 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2007, allocations: 0 / 450.1 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.878e-05/0.2008, allocations: 29.19 kB / 450.1 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.201, allocations: 35.78 kB / 450.2 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009125/0.2019, allocations: 1.681 MB / 451.9 MB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.751e-05/0.202, allocations: 92.45 kB / 451.9 MB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.002e-05/0.202, allocations: 17.38 kB / 452 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.2021, allocations: 36.2 kB / 452 MB, free: 38.21 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2021, allocations: 0 / 452 MB, free: 38.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.2173, allocations: 4.274 MB / 456.3 MB, free: 36.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/7.173, allocations: 17.14 kB / 456.3 MB, free: 36.82 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.35906076990068]