Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001391/0.001391, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002436/0.002436, allocations: 215 kB / 24.47 MB, free: 3.777 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.459/1.459, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",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.003361/0.003361, allocations: 55.92 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3049, allocations: 49.15 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1697/0.4746, allocations: 129.4 MB / 0.5134 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.4765, allocations: 1.367 MB / 0.5147 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.4765, allocations: 0 / 0.5147 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.4767, allocations: 19.86 kB / 0.5147 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009965/0.4777, allocations: 329.9 kB / 0.5151 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.4779, allocations: 55.75 kB / 0.5151 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.478, allocations: 75.59 kB / 0.5152 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.4781, allocations: 8 kB / 0.5152 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.4782, allocations: 39.78 kB / 0.5152 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.4782, allocations: 27.86 kB / 0.5153 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.517e-06/0.4782, allocations: 0 / 0.5153 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007213/0.479, allocations: 347.5 kB / 0.5156 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.479, allocations: 0 / 0.5156 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.479, allocations: 35.8 kB / 0.5156 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000531/0.4796, allocations: 293.2 kB / 0.5159 GB, free: 14.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4796, allocations: 0 / 0.5159 GB, free: 14.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.017e-06/0.4796, allocations: 4 kB / 0.5159 GB, free: 14.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.4796, allocations: 4 kB / 0.5159 GB, free: 14.69 MB / 446.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.0008372/0.4804, allocations: 353.8 kB / 0.5162 GB, free: 14.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4805, allocations: 15.98 kB / 0.5163 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.4805, allocations: 42.67 kB / 0.5163 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006382/0.4869, allocations: 460.2 kB / 0.5167 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.718e-05/0.487, allocations: 106.3 kB / 0.5168 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.487, allocations: 8 kB / 0.5169 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.243e-05/0.4871, allocations: 8 kB / 0.5169 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000785/0.4879, allocations: 293.3 kB / 0.5171 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.4879, allocations: 4 kB / 0.5171 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.4879, allocations: 7.922 kB / 0.5172 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.4879, allocations: 3.984 kB / 0.5172 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.4888, allocations: 271.8 kB / 0.5174 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.4898, allocations: 383.8 kB / 0.5178 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.4908, allocations: 198.3 kB / 0.518 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.491, allocations: 73.06 kB / 0.518 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.491, allocations: 8 kB / 0.518 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.4911, allocations: 38.5 kB / 0.5181 GB, free: 12.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.4911, allocations: 0 / 0.5181 GB, free: 12.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001718/0.4928, allocations: 425.6 kB / 0.5185 GB, free: 11.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.4928, allocations: 51.41 kB / 0.5185 GB, free: 11.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.207e-05/0.4929, allocations: 105.8 kB / 0.5186 GB, free: 11.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.4929, allocations: 29.7 kB / 0.5187 GB, free: 11.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.493, allocations: 95.98 kB / 0.5188 GB, free: 11.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.493, allocations: 59.47 kB / 0.5188 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/0.4931, allocations: 45.69 kB / 0.5189 GB, free: 11.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4933, allocations: 322.8 kB / 0.5192 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.4936, allocations: 79.94 kB / 0.5192 GB, free: 11.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.4938, allocations: 108.2 kB / 0.5193 GB, free: 10.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.4944, allocations: 208.2 kB / 0.5195 GB, free: 10.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4944, allocations: 4 kB / 0.5195 GB, free: 10.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006833/0.4951, allocations: 241.4 kB / 0.5198 GB, free: 10.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4951, allocations: 4 kB / 0.5198 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4951, allocations: 4 kB / 0.5198 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4951, allocations: 0 / 0.5198 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.4955, allocations: 55.89 kB / 0.5198 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.4955, allocations: 4 kB / 0.5198 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.4958, allocations: 12.11 kB / 0.5199 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.4958, allocations: 23.92 kB / 0.5199 GB, free: 10.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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.0001185/0.4959, allocations: 121.7 kB / 0.52 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.496, allocations: 7.953 kB / 0.52 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008203/0.4968, allocations: 282.3 kB / 0.5203 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4968, allocations: 0 / 0.5203 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4968, allocations: 0 / 0.5203 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4968, allocations: 0 / 0.5203 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.4981, allocations: 0.5341 MB / 0.5208 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4981, allocations: 0 / 0.5208 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000491/0.4986, allocations: 47.95 kB / 0.5208 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.4986, allocations: 8.062 kB / 0.5208 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.4986, allocations: 4 kB / 0.5208 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4986, allocations: 3.984 kB / 0.5209 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4986, allocations: 3.938 kB / 0.5209 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006997/0.4993, allocations: 333.5 kB / 0.5212 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.4993, allocations: 7.953 kB / 0.5212 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.4994, allocations: 16 kB / 0.5212 GB, free: 8.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.4997, allocations: 7.984 kB / 0.5212 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.4997, allocations: 23.91 kB / 0.5212 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.4997, allocations: 8 kB / 0.5212 GB, free: 8.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.751e-05/0.4998, allocations: 83.27 kB / 0.5213 GB, free: 8.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4998, allocations: 0 / 0.5213 GB, free: 8.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.5001, allocations: 47.94 kB / 0.5214 GB, free: 8.789 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * 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.001104/0.5012, allocations: 0.8741 MB / 0.5222 GB, free: 7.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006383/0.5018, allocations: 199.7 kB / 0.5224 GB, free: 7.688 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5018, allocations: 0 / 0.5224 GB, free: 7.688 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.5022, allocations: 108.3 kB / 0.5225 GB, free: 7.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.5026, allocations: 39.83 kB / 0.5225 GB, free: 7.543 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.5036, allocations: 316.4 kB / 0.5228 GB, free: 7.184 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.495e-05/0.5037, allocations: 79.77 kB / 0.5229 GB, free: 7.086 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002814/0.504, allocations: 52.7 kB / 0.523 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.5042, allocations: 43.41 kB / 0.523 GB, free: 6.992 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.5042, allocations: 0 / 0.523 GB, free: 6.992 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.5371, allocations: 5.133 MB / 0.528 GB, free: 1.789 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.78, allocations: 11.94 kB / 0.528 GB, free: 1.777 MB / 446.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable smoothState.p from file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_p in file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_p from file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_T in file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_T from file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.422559357713908]