Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.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.001371/0.001371, allocations: 80.53 kB / 20.49 MB, free: 1.387 MB / 14.72 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.00148/0.00148, allocations: 162.8 kB / 23.74 MB, free: 4.578 MB / 14.72 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 1.378/1.378, allocations: 177.1 MB / 204 MB, free: 9.23 MB / 190.1 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.2072/0.2072, allocations: 34.26 MB / 294.7 MB, free: 14.62 MB / 286.1 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.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003556/0.003556, allocations: 83.88 kB / 441.9 MB, free: 6.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2996, allocations: 66.06 MB / 0.496 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1739/0.4735, allocations: 131.6 MB / 0.6246 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002837/0.4764, allocations: 1.974 MB / 0.6265 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.4765, allocations: 0 / 0.6265 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.4769, allocations: 51.67 kB / 0.6265 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.4786, allocations: 0.6376 MB / 0.6272 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.479, allocations: 107.7 kB / 0.6273 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.4794, allocations: 263 kB / 0.6275 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.4794, allocations: 4 kB / 0.6275 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003883/0.4798, allocations: 179.4 kB / 0.6277 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.48, allocations: 95.62 kB / 0.6278 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.48, allocations: 8 kB / 0.6278 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.4816, allocations: 0.7675 MB / 0.6285 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.4817, allocations: 91.75 kB / 0.6286 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.4818, allocations: 83.7 kB / 0.6287 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.483, allocations: 0.6567 MB / 0.6294 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.483, allocations: 0 / 0.6294 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.483, allocations: 0 / 0.6294 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.483, allocations: 0 / 0.6294 GB, free: 8.602 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009367/0.484, allocations: 437.5 kB / 0.6298 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.484, allocations: 8.031 kB / 0.6298 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.958e-05/0.4841, allocations: 54.73 kB / 0.6298 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/0.4861, allocations: 280.5 kB / 0.6301 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.4866, allocations: 229.7 kB / 0.6303 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.4866, allocations: 12.33 kB / 0.6303 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/0.4867, allocations: 20 kB / 0.6303 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008848/0.4875, allocations: 0.6395 MB / 0.631 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4876, allocations: 3.938 kB / 0.631 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-05/0.4876, allocations: 12 kB / 0.631 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/0.4876, allocations: 8 kB / 0.631 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/0.4885, allocations: 0.5778 MB / 0.6316 GB, free: 6.23 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.4908, allocations: 0.9405 MB / 0.6325 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.4912, allocations: 245 kB / 0.6327 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.4915, allocations: 184.7 kB / 0.6329 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008188/0.4923, allocations: 152 kB / 0.633 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.4924, allocations: 42.5 kB / 0.6331 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/0.4924, allocations: 0 / 0.6331 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001932/0.4943, allocations: 0.5955 MB / 0.6337 GB, free: 4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.4943, allocations: 93.03 kB / 0.6337 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.4945, allocations: 125.8 kB / 0.6339 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.4946, allocations: 33.7 kB / 0.6339 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.4947, allocations: 120.5 kB / 0.634 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.4948, allocations: 107.1 kB / 0.6341 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.4949, allocations: 73.47 kB / 0.6342 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4951, allocations: 326.8 kB / 0.6345 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.4954, allocations: 183.9 kB / 0.6347 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.4959, allocations: 284.8 kB / 0.6349 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008203/0.4967, allocations: 499.6 kB / 0.6354 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4967, allocations: 0 / 0.6354 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001048/0.4977, allocations: 0.517 MB / 0.6359 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4978, allocations: 4 kB / 0.6359 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4978, allocations: 4.391 kB / 0.6359 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.4978, allocations: 11.98 kB / 0.6359 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.4983, allocations: 79.89 kB / 0.636 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.4983, allocations: 4 kB / 0.636 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.4987, allocations: 35.77 kB / 0.6361 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/0.4987, allocations: 20 kB / 0.6361 GB, free: 1.371 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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.0001892/0.4989, allocations: 150.5 kB / 0.6362 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.499, allocations: 27.92 kB / 0.6362 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.5, allocations: 494 kB / 0.6367 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.5, allocations: 7.984 kB / 0.6367 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5001, allocations: 0 / 0.6367 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.5001, allocations: 4 kB / 0.6367 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007595/0.5008, allocations: 393.1 kB / 0.6371 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5008, allocations: 0 / 0.6371 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.5013, allocations: 55.91 kB / 0.6372 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.5013, allocations: 4 kB / 0.6372 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.5014, allocations: 11.98 kB / 0.6372 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.5014, allocations: 0 / 0.6372 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5014, allocations: 4 kB / 0.6372 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2241/0.7255, allocations: 0.6948 MB / 0.6379 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.7255, allocations: 14.45 kB / 0.6379 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/0.7256, allocations: 8.828 kB / 0.6379 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004863/0.7261, allocations: 22.23 kB / 0.6379 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.7261, allocations: 20.12 kB / 0.6379 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.7262, allocations: 17.47 kB / 0.6379 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.514e-05/0.7262, allocations: 103.5 kB / 0.638 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7262, allocations: 0.5938 kB / 0.638 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007227/0.727, allocations: 172.3 kB / 0.6382 GB, free: 142.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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 Backend phase and start with SimCode phase: time 0.001911/0.7289, allocations: 1.462 MB / 0.6396 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007652/0.7296, allocations: 415.1 kB / 0.64 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7297, allocations: 1.188 kB / 0.64 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.73, allocations: 219.6 kB / 0.6402 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/0.7306, allocations: 90.97 kB / 0.6403 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.7342, allocations: 3.225 MB / 0.6435 GB, free: 139.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.7343, allocations: 125.4 kB / 0.6436 GB, free: 139.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004596/0.7348, allocations: 116.3 kB / 0.6437 GB, free: 139 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.7349, allocations: 65.64 kB / 0.6438 GB, free: 139 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.7349, allocations: 1.203 kB / 0.6438 GB, free: 139 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03905/0.774, allocations: 11.47 MB / 0.655 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.26, allocations: 7.922 kB / 0.655 GB, free: 130.1 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium2.p in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.053101789671928]