Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001161/0.001161, 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.001262/0.001262, 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.9503/0.9503, 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.2534/0.2534, allocations: 32.79 MB / 293.5 MB, free: 1.238 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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.566e-05, allocations: 2.281 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002793/0.002818, allocations: 1.718 MB / 441.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.004018, allocations: 0.9703 MB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.394e-05/0.004102, allocations: 7.938 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.00439, allocations: 35.83 kB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.004739, allocations: 107.4 kB / 442.5 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.004926, allocations: 79.66 kB / 442.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.005091, allocations: 115.6 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.418e-05/0.005185, allocations: 4 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.005338, allocations: 55.88 kB / 442.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.005415, allocations: 23.86 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.005432, allocations: 4 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.442e-05/0.005516, allocations: 51.91 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.005572, allocations: 23.92 kB / 442.9 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.005609, allocations: 23.86 kB / 442.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.005784, allocations: 127.5 kB / 443 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.005789, allocations: 4 kB / 443 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.005791, allocations: 0 / 443 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.005796, allocations: 4 kB / 443 MB, free: 0.7969 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.0004486/0.006245, allocations: 357.5 kB / 443.4 MB, free: 428 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.006285, allocations: 8.031 kB / 443.4 MB, free: 420 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.006315, allocations: 38.69 kB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.006347, allocations: 12.89 kB / 443.4 MB, free: 360 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.006573, allocations: 158.3 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.006586, allocations: 4.375 kB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.006603, allocations: 384 / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.006725, allocations: 61.92 kB / 443.6 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.006736, allocations: 3.938 kB / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.006745, allocations: 7.984 kB / 443.7 MB, free: 88 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.00675, allocations: 0 / 443.7 MB, free: 88 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.179e-05/0.006801, allocations: 19.98 kB / 443.7 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1864/0.1932, allocations: 259.4 kB / 443.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1934, allocations: 55.8 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.1934, allocations: 22.05 kB / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.1934, allocations: 0 / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.1935, allocations: 76.53 kB / 444.1 MB, free: 46.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1935, allocations: 0 / 444.1 MB, free: 46.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004187/0.194, allocations: 185.7 kB / 444.3 MB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.194, allocations: 58.59 kB / 444.3 MB, free: 46.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.1941, allocations: 235.3 kB / 444.5 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.1941, allocations: 32.14 kB / 444.6 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.1942, allocations: 108.7 kB / 444.7 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.1942, allocations: 28.81 kB / 444.7 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.1942, allocations: 24.25 kB / 444.7 MB, free: 45.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.1943, allocations: 325.1 kB / 445.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.692e-05/0.1943, allocations: 22.48 kB / 445.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.1943, allocations: 37.69 kB / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.602e-05/0.1944, allocations: 66.92 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1944, allocations: 0 / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000105/0.1945, allocations: 108.7 kB / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1945, allocations: 5.25 kB / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1945, allocations: 3.094 kB / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1945, allocations: 0 / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/0.1946, allocations: 16.83 kB / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1946, allocations: 7.141 kB / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.1946, allocations: 10.12 kB / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1946, allocations: 5.812 kB / 445.3 MB, free: 45.56 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.74e-05/0.1947, allocations: 131.6 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.1947, allocations: 17.59 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.1949, allocations: 124.3 kB / 445.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1949, allocations: 0 / 445.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1949, allocations: 0 / 445.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1949, allocations: 0 / 445.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.1951, allocations: 391.6 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1951, allocations: 0 / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.1952, allocations: 11.67 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1952, allocations: 2.719 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1952, allocations: 2.344 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1952, allocations: 2.969 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1952, allocations: 0 / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.1953, allocations: 215.4 kB / 446.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.1953, allocations: 10.62 kB / 446.2 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1953, allocations: 11.23 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.1954, allocations: 6.75 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.1954, allocations: 9.562 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1954, allocations: 2.938 kB / 446.3 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.788e-05/0.1955, allocations: 178 kB / 446.4 MB, free: 44.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1955, allocations: 2.562 kB / 446.4 MB, free: 44.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.1956, allocations: 27.47 kB / 446.5 MB, free: 44.8 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.0009018/0.1966, allocations: 1.14 MB / 447.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.1967, allocations: 60.48 kB / 447.7 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1967, allocations: 0 / 447.7 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.1967, allocations: 28.83 kB / 447.7 MB, free: 44.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.1969, allocations: 25.94 kB / 447.7 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.198, allocations: 1.779 MB / 449.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.707e-05/0.198, allocations: 99.81 kB / 449.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.77e-05/0.1981, allocations: 13.89 kB / 449.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.1981, allocations: 43.88 kB / 449.6 MB, free: 42.51 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1981, allocations: 0 / 449.6 MB, free: 42.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.214, allocations: 4.459 MB / 454.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/7.083, allocations: 3.516 kB / 454.1 MB, free: 41.09 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.267498294822872]