Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.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.001441/0.001441, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001753/0.001753, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 47.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1044, allocations: 53.33 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3855/0.4899, allocations: 152.6 MB / 0.5654 GB, free: 7.754 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.4928, allocations: 2.557 MB / 0.5679 GB, free: 5.191 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.4928, allocations: 0 / 0.5679 GB, free: 5.191 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.493, allocations: 27.83 kB / 0.5679 GB, free: 5.164 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009238/0.4939, allocations: 342.3 kB / 0.5682 GB, free: 4.832 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.4941, allocations: 67.72 kB / 0.5683 GB, free: 4.766 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.4942, allocations: 104.4 kB / 0.5684 GB, free: 4.664 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.4943, allocations: 4 kB / 0.5684 GB, free: 4.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.4944, allocations: 39.86 kB / 0.5684 GB, free: 4.621 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.4945, allocations: 43.72 kB / 0.5685 GB, free: 4.578 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.4945, allocations: 4 kB / 0.5685 GB, free: 4.574 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007268/0.4952, allocations: 367.5 kB / 0.5688 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.4952, allocations: 11.92 kB / 0.5688 GB, free: 4.203 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.4953, allocations: 43.8 kB / 0.5689 GB, free: 4.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.4958, allocations: 311.6 kB / 0.5692 GB, free: 3.859 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4958, allocations: 4 kB / 0.5692 GB, free: 3.855 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4958, allocations: 0 / 0.5692 GB, free: 3.855 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.4958, allocations: 1.031 kB / 0.5692 GB, free: 3.855 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009988/0.4968, allocations: 466.7 kB / 0.5696 GB, free: 3.352 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.4968, allocations: 12.03 kB / 0.5696 GB, free: 3.34 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.4969, allocations: 34.75 kB / 0.5697 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006615/0.5035, allocations: 468.2 kB / 0.5701 GB, free: 2.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.5037, allocations: 179.4 kB / 0.5703 GB, free: 2.625 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.5037, allocations: 4 kB / 0.5703 GB, free: 2.621 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.5038, allocations: 15.98 kB / 0.5703 GB, free: 2.605 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008477/0.5046, allocations: 292.1 kB / 0.5706 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.5046, allocations: 4 kB / 0.5706 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.5047, allocations: 4 kB / 0.5706 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5047, allocations: 5.031 kB / 0.5706 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000883/0.5056, allocations: 280.3 kB / 0.5709 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.5059, allocations: 245.5 kB / 0.5711 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.5063, allocations: 146.8 kB / 0.5712 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.5066, allocations: 80.81 kB / 0.5713 GB, free: 1.508 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.5066, allocations: 7.984 kB / 0.5713 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.5066, allocations: 42.5 kB / 0.5714 GB, free: 1.449 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.5066, allocations: 0 / 0.5714 GB, free: 1.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.002324/0.5089, allocations: 0.5777 MB / 0.5719 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.509, allocations: 55.41 kB / 0.572 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/0.5091, allocations: 106.5 kB / 0.5721 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.5091, allocations: 36.8 kB / 0.5721 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.5092, allocations: 80.58 kB / 0.5722 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/0.5092, allocations: 91.25 kB / 0.5723 GB, free: 488 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.5094, allocations: 49.69 kB / 0.5723 GB, free: 432 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5095, allocations: 314.8 kB / 0.5726 GB, free: 108 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.5098, allocations: 103.9 kB / 0.5727 GB, free: 4 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.5102, allocations: 95.94 kB / 0.5728 GB, free: 15.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006476/0.5108, allocations: 235.6 kB / 0.573 GB, free: 15.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5108, allocations: 0 / 0.573 GB, free: 15.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007709/0.5116, allocations: 286 kB / 0.5733 GB, free: 15.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5116, allocations: 8 kB / 0.5733 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5116, allocations: 0 / 0.5733 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.5116, allocations: 3.938 kB / 0.5733 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.5121, allocations: 59.89 kB / 0.5734 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.5121, allocations: 0 / 0.5734 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.5124, allocations: 12.92 kB / 0.5734 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.5124, allocations: 19.98 kB / 0.5734 GB, free: 15.29 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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.0001285/0.5125, allocations: 117.8 kB / 0.5735 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.5126, allocations: 7.953 kB / 0.5735 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009834/0.5136, allocations: 358.7 kB / 0.5739 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5136, allocations: 7.922 kB / 0.5739 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5136, allocations: 2.375 kB / 0.5739 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.5136, allocations: 4 kB / 0.5739 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.5152, allocations: 0.7218 MB / 0.5746 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5152, allocations: 0 / 0.5746 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.5156, allocations: 55.95 kB / 0.5746 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.5156, allocations: 0 / 0.5746 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.5156, allocations: 19.92 kB / 0.5747 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5156, allocations: 0 / 0.5747 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5157, allocations: 4 kB / 0.5747 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009087/0.5166, allocations: 422 kB / 0.5751 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.5166, allocations: 89.02 kB / 0.5751 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.5167, allocations: 8 kB / 0.5752 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.517, allocations: 15.92 kB / 0.5752 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.517, allocations: 23.91 kB / 0.5752 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.5171, allocations: 11.98 kB / 0.5752 GB, free: 13.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.693e-05/0.5171, allocations: 89.31 kB / 0.5753 GB, free: 13.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5171, allocations: 4 kB / 0.5753 GB, free: 13.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004233/0.5175, allocations: 56 kB / 0.5753 GB, free: 13.18 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (26): * Single equations (assignments): 26 * 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.001391/0.5189, allocations: 0.9585 MB / 0.5763 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000887/0.5198, allocations: 250.8 kB / 0.5765 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5198, allocations: 0 / 0.5765 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.5202, allocations: 131.8 kB / 0.5767 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/0.5209, allocations: 56.34 kB / 0.5767 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.5249, allocations: 2.113 MB / 0.5788 GB, free: 9.531 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.5252, allocations: 0.7086 MB / 0.5795 GB, free: 8.797 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002904/0.5255, allocations: 58.05 kB / 0.5795 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.5257, allocations: 55.41 kB / 0.5796 GB, free: 8.688 MB / 494.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5257, allocations: 0 / 0.5796 GB, free: 8.688 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.5555, allocations: 5.624 MB / 0.5851 GB, free: 3.168 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.474, allocations: 5.797 kB / 0.5851 GB, free: 3.164 MB / 494.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable smoothState.p in file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable smoothState.p from file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_p in file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_p from file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_T in file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_T from file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.00376585900085]