Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.0009106/0.0009106, allocations: 88.27 kB / 20.77 MB, free: 3.754 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.001302/0.001302, allocations: 160.9 kB / 24.06 MB, free: 476 kB / 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.8987/0.8987, allocations: 177 MB / 204.2 MB, free: 5.719 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.2369/0.2369, allocations: 34.25 MB / 295 MB, free: 0.6914 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 442.5 MB, free: 1.371 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/1.991e-05, allocations: 5.094 kB / 442.5 MB, free: 1.367 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.1941/0.1942, allocations: 1.706 MB / 444.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1957, allocations: 1.666 MB / 445.8 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.1958, allocations: 6.938 kB / 445.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.196, allocations: 41.59 kB / 445.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.1963, allocations: 101.5 kB / 446 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.1965, allocations: 79.95 kB / 446.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1966, allocations: 108.3 kB / 446.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.1967, allocations: 10.05 kB / 446.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.958e-05/0.1968, allocations: 61.55 kB / 446.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.204e-05/0.1969, allocations: 40.08 kB / 446.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1969, allocations: 9.656 kB / 446.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.197, allocations: 99.23 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.1971, allocations: 28.08 kB / 446.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.1971, allocations: 17.95 kB / 446.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1973, allocations: 175.2 kB / 446.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1973, allocations: 2.656 kB / 446.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1973, allocations: 0 / 446.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1973, allocations: 3.938 kB / 446.6 MB, free: 42.54 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.0004163/0.1977, allocations: 354.8 kB / 447 MB, free: 42.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1978, allocations: 8 kB / 447 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.1978, allocations: 36.84 kB / 447 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.1978, allocations: 15.47 kB / 447 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.198, allocations: 148.2 kB / 447.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.198, allocations: 10.38 kB / 447.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.1981, allocations: 2.938 kB / 447.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1982, allocations: 98.73 kB / 447.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1982, allocations: 0 / 447.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1982, allocations: 0 / 447.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1982, allocations: 2.531 kB / 447.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.1983, allocations: 26.61 kB / 447.3 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.1985, allocations: 248.4 kB / 447.5 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.1986, allocations: 57.41 kB / 447.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.1987, allocations: 25.03 kB / 447.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.1987, allocations: 5.656 kB / 447.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.1988, allocations: 74.42 kB / 447.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1988, allocations: 0 / 447.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003905/0.1992, allocations: 176.1 kB / 447.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.1992, allocations: 79.95 kB / 448 MB, free: 41.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.1993, allocations: 166.3 kB / 448.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/0.1993, allocations: 25.7 kB / 448.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.1993, allocations: 106.2 kB / 448.2 MB, free: 41.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.1994, allocations: 28.97 kB / 448.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.1994, allocations: 19.69 kB / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.938e-05/0.1994, allocations: 328.1 kB / 448.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.151e-05/0.1994, allocations: 19.62 kB / 448.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.816e-05/0.1995, allocations: 72.25 kB / 448.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.464e-05/0.1995, allocations: 65.62 kB / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1995, allocations: 0 / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000103/0.1996, allocations: 107.8 kB / 448.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1997, allocations: 5.812 kB / 448.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1997, allocations: 0 / 448.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1997, allocations: 3.938 kB / 448.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.1997, allocations: 17.97 kB / 448.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1997, allocations: 0 / 448.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.1998, allocations: 3.062 kB / 448.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1998, allocations: 2.906 kB / 448.9 MB, free: 40.59 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 4.734e-05/0.1998, allocations: 127.2 kB / 449 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.1998, allocations: 10.05 kB / 449 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.2, allocations: 125.8 kB / 449.2 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2, allocations: 7.719 kB / 449.2 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2, allocations: 0 / 449.2 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2, allocations: 0 / 449.2 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.2002, allocations: 376.4 kB / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2002, allocations: 0 / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.2003, allocations: 12.66 kB / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2003, allocations: 0 / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.2003, allocations: 6.156 kB / 449.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2003, allocations: 7.969 kB / 449.6 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2003, allocations: 7.875 kB / 449.6 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.2004, allocations: 209.6 kB / 449.8 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.2004, allocations: 9.578 kB / 449.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.2004, allocations: 4 kB / 449.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.465e-05/0.2005, allocations: 6.172 kB / 449.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.2005, allocations: 10 kB / 449.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.2005, allocations: 5.719 kB / 449.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.278e-05/0.2006, allocations: 128.3 kB / 449.9 MB, free: 39.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2006, allocations: 0 / 449.9 MB, free: 39.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.2008, allocations: 54.62 kB / 450 MB, free: 39.78 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.001055/0.2018, allocations: 1.225 MB / 451.2 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.202, allocations: 61.36 kB / 451.3 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.202, allocations: 0 / 451.3 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.041e-05/0.202, allocations: 36.44 kB / 451.3 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.2022, allocations: 42.09 kB / 451.3 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.2033, allocations: 1.604 MB / 453 MB, free: 37.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.184e-05/0.2033, allocations: 83.98 kB / 453 MB, free: 37.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.938e-05/0.2034, allocations: 21.89 kB / 453.1 MB, free: 37.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.2034, allocations: 46.31 kB / 453.1 MB, free: 37.45 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2034, allocations: 0 / 453.1 MB, free: 37.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.2239, allocations: 4.891 MB / 458 MB, free: 35.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.885/7.108, allocations: 0 / 458 MB, free: 35.89 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.229192281141877]