Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.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.001598/0.001598, allocations: 112.3 kB / 17.12 MB, free: 5.953 MB / 14.72 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.001463/0.001463, allocations: 204 kB / 20.09 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 207.6 MB / 230.5 MB, free: 4.055 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3439/0.3439, allocations: 44.23 MB / 326.6 MB, free: 6.824 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 71.89 kB / 462.2 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2931, allocations: 61 MB / 0.5109 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4854/0.7785, allocations: 151.4 MB / 0.6588 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002391/0.7809, allocations: 2.092 MB / 0.6609 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.361e-05/0.781, allocations: 1.406 kB / 0.6609 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004286/0.7814, allocations: 57.22 kB / 0.6609 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.7832, allocations: 0.6138 MB / 0.6615 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.7835, allocations: 113.4 kB / 0.6616 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.784, allocations: 261 kB / 0.6619 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.784, allocations: 7.453 kB / 0.6619 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.7843, allocations: 140.7 kB / 0.662 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.7845, allocations: 96.53 kB / 0.6621 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.7845, allocations: 9.984 kB / 0.6621 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.7862, allocations: 0.8619 MB / 0.663 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.7863, allocations: 78.72 kB / 0.663 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.7865, allocations: 102.7 kB / 0.6631 GB, free: 472 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.7878, allocations: 0.6392 MB / 0.6637 GB, free: 448 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7878, allocations: 0 / 0.6637 GB, free: 448 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7878, allocations: 2.562 kB / 0.6638 GB, free: 448 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.7878, allocations: 1.312 kB / 0.6638 GB, free: 448 kB / 0.4981 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.00102/0.7888, allocations: 0.5029 MB / 0.6642 GB, free: 16.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.7889, allocations: 16.14 kB / 0.6643 GB, free: 16.01 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.154e-05/0.789, allocations: 56.91 kB / 0.6643 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.7909, allocations: 269.3 kB / 0.6646 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.7914, allocations: 275.7 kB / 0.6648 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.7914, allocations: 12.8 kB / 0.6648 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.7915, allocations: 26.28 kB / 0.6649 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/0.7923, allocations: 0.4962 MB / 0.6654 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.7923, allocations: 4.797 kB / 0.6654 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.756e-05/0.7923, allocations: 9.594 kB / 0.6654 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.7924, allocations: 7.875 kB / 0.6654 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008273/0.7932, allocations: 0.5859 MB / 0.6659 GB, free: 15.68 MB / 0.5137 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.00252/0.7957, allocations: 1.007 MB / 0.6669 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.7961, allocations: 243.5 kB / 0.6672 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.7964, allocations: 180.4 kB / 0.6673 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008909/0.7973, allocations: 276.9 kB / 0.6676 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.7974, allocations: 41.09 kB / 0.6676 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 2.144e-06/0.7974, allocations: 0 / 0.6676 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28): time 0.002099/0.7995, allocations: 0.5924 MB / 0.6682 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.7995, allocations: 87.23 kB / 0.6683 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.7997, allocations: 124.6 kB / 0.6684 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.7998, allocations: 32.11 kB / 0.6684 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.934e-05/0.7999, allocations: 117.8 kB / 0.6686 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.8, allocations: 110.8 kB / 0.6687 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.8002, allocations: 72.42 kB / 0.6687 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.8003, allocations: 328.5 kB / 0.669 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.8007, allocations: 183.2 kB / 0.6692 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.8011, allocations: 290.4 kB / 0.6695 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007942/0.8019, allocations: 492.4 kB / 0.67 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.8019, allocations: 0.875 kB / 0.67 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009376/0.8029, allocations: 0.5361 MB / 0.6705 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.8029, allocations: 4.969 kB / 0.6705 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.8029, allocations: 5.281 kB / 0.6705 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.8029, allocations: 3.406 kB / 0.6705 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.8035, allocations: 85.53 kB / 0.6706 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.8035, allocations: 6.578 kB / 0.6706 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.8039, allocations: 33.77 kB / 0.6706 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.8039, allocations: 22.02 kB / 0.6706 GB, free: 13.89 MB / 0.5137 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.0001738/0.8041, allocations: 143.6 kB / 0.6708 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.8042, allocations: 24.31 kB / 0.6708 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009011/0.8051, allocations: 496.8 kB / 0.6713 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.8051, allocations: 7.516 kB / 0.6713 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.8051, allocations: 0 / 0.6713 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.8051, allocations: 0 / 0.6713 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007387/0.8059, allocations: 465.3 kB / 0.6717 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8059, allocations: 7.375 kB / 0.6717 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005035/0.8064, allocations: 60.61 kB / 0.6718 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.8064, allocations: 0 / 0.6718 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.8064, allocations: 9.5 kB / 0.6718 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.8064, allocations: 10.36 kB / 0.6718 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8064, allocations: 3.094 kB / 0.6718 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.8076, allocations: 0.6856 MB / 0.6725 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.8076, allocations: 89.81 kB / 0.6726 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.8077, allocations: 10.66 kB / 0.6726 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/0.8082, allocations: 26.33 kB / 0.6726 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.8082, allocations: 14.05 kB / 0.6726 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.8083, allocations: 21.25 kB / 0.6726 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.842e-05/0.8083, allocations: 100.8 kB / 0.6727 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8083, allocations: 0 / 0.6727 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00089/0.8092, allocations: 157.8 kB / 0.6729 GB, free: 13.01 MB / 0.5137 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.002144/0.8114, allocations: 1.469 MB / 0.6743 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006942/0.8121, allocations: 421.2 kB / 0.6747 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8121, allocations: 0 / 0.6747 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.8124, allocations: 218.1 kB / 0.6749 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000681/0.8131, allocations: 93.81 kB / 0.675 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004292/0.8174, allocations: 3.218 MB / 0.6782 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.8179, allocations: 0.7413 MB / 0.6789 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004514/0.8183, allocations: 116.9 kB / 0.679 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.8185, allocations: 56.08 kB / 0.6791 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.8185, allocations: 3.094 kB / 0.6791 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.8531, allocations: 10.43 MB / 0.6892 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.938, allocations: 8 kB / 0.6893 GB, free: 8.016 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.911643066006945]