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.001751/0.001751, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002038/0.002038, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.37/1.37, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.002576/0.002576, allocations: 47.92 kB / 347.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.274, allocations: 49.17 MB / 396.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1795/0.4535, allocations: 150.9 MB / 0.5344 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.4554, allocations: 1.542 MB / 0.5359 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.4554, allocations: 0 / 0.5359 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.4556, allocations: 31.83 kB / 0.536 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009283/0.4565, allocations: 318 kB / 0.5363 GB, free: 9.988 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.4567, allocations: 67.67 kB / 0.5363 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.4568, allocations: 71.59 kB / 0.5364 GB, free: 9.852 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.4569, allocations: 4 kB / 0.5364 GB, free: 9.848 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.457, allocations: 31.86 kB / 0.5364 GB, free: 9.816 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.758e-05/0.4571, allocations: 35.84 kB / 0.5365 GB, free: 9.781 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.4571, allocations: 0 / 0.5365 GB, free: 9.781 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007277/0.4578, allocations: 371.5 kB / 0.5368 GB, free: 9.418 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.4578, allocations: 3.984 kB / 0.5368 GB, free: 9.414 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.4579, allocations: 27.88 kB / 0.5369 GB, free: 9.387 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004971/0.4584, allocations: 296.3 kB / 0.5371 GB, free: 9.102 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4584, allocations: 0 / 0.5371 GB, free: 9.102 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4584, allocations: 0 / 0.5371 GB, free: 9.102 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.4584, allocations: 4 kB / 0.5371 GB, free: 9.098 MB / 462.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.0008793/0.4593, allocations: 365.7 kB / 0.5375 GB, free: 8.711 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4593, allocations: 15.98 kB / 0.5375 GB, free: 8.695 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.025e-05/0.4594, allocations: 38.73 kB / 0.5375 GB, free: 8.648 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005775/0.4651, allocations: 460.2 kB / 0.538 GB, free: 8.199 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.894e-05/0.4652, allocations: 106.3 kB / 0.5381 GB, free: 8.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.4653, allocations: 7.938 kB / 0.5381 GB, free: 8.062 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/0.4653, allocations: 16 kB / 0.5381 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007415/0.4661, allocations: 289.3 kB / 0.5384 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4661, allocations: 0 / 0.5384 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.4661, allocations: 8 kB / 0.5384 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.4661, allocations: 3.938 kB / 0.5384 GB, free: 7.746 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007824/0.4669, allocations: 275.8 kB / 0.5387 GB, free: 7.477 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.4679, allocations: 399.8 kB / 0.539 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009897/0.4689, allocations: 202.3 kB / 0.5392 GB, free: 6.836 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.4691, allocations: 68.83 kB / 0.5393 GB, free: 6.766 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.4692, allocations: 7.984 kB / 0.5393 GB, free: 6.758 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.4692, allocations: 30.56 kB / 0.5393 GB, free: 6.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 3.126e-06/0.4692, allocations: 3.984 kB / 0.5393 GB, free: 6.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001719/0.4709, allocations: 421.1 kB / 0.5397 GB, free: 6.297 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.4709, allocations: 51.41 kB / 0.5398 GB, free: 6.234 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/0.471, allocations: 109.8 kB / 0.5399 GB, free: 6.117 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.4711, allocations: 29.64 kB / 0.5399 GB, free: 6.082 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.4711, allocations: 99.98 kB / 0.54 GB, free: 5.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/0.4712, allocations: 59.47 kB / 0.5401 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.4713, allocations: 37.7 kB / 0.5401 GB, free: 5.879 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4714, allocations: 322.8 kB / 0.5404 GB, free: 5.555 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.4717, allocations: 83.94 kB / 0.5405 GB, free: 5.473 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.472, allocations: 112.2 kB / 0.5406 GB, free: 5.348 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.4725, allocations: 212.2 kB / 0.5408 GB, free: 5.125 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4725, allocations: 0 / 0.5408 GB, free: 5.125 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006351/0.4731, allocations: 241.5 kB / 0.541 GB, free: 4.883 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4732, allocations: 4 kB / 0.541 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.4732, allocations: 4 kB / 0.541 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4732, allocations: 0 / 0.541 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.4735, allocations: 55.89 kB / 0.5411 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4736, allocations: 8.125 kB / 0.5411 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.4738, allocations: 11.98 kB / 0.5411 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.4738, allocations: 12 kB / 0.5411 GB, free: 4.789 MB / 462.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.0001255/0.474, allocations: 125.7 kB / 0.5412 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.474, allocations: 7.953 kB / 0.5413 GB, free: 4.648 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007612/0.4748, allocations: 269.9 kB / 0.5415 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4748, allocations: 4 kB / 0.5415 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4748, allocations: 0 / 0.5415 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.4748, allocations: 11.92 kB / 0.5415 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.476, allocations: 0.5419 MB / 0.5421 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.476, allocations: 4 kB / 0.5421 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.4763, allocations: 43.95 kB / 0.5421 GB, free: 3.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4763, allocations: 4 kB / 0.5421 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.4764, allocations: 15.92 kB / 0.5421 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4764, allocations: 0 / 0.5421 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.4764, allocations: 7.875 kB / 0.5421 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.477, allocations: 330 kB / 0.5424 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.477, allocations: 12.14 kB / 0.5425 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.4771, allocations: 3.984 kB / 0.5425 GB, free: 3.336 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.4773, allocations: 19.98 kB / 0.5425 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.4774, allocations: 15.91 kB / 0.5425 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.4774, allocations: 12 kB / 0.5425 GB, free: 3.289 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.427e-05/0.4774, allocations: 87.2 kB / 0.5426 GB, free: 3.203 MB / 462.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4774, allocations: 0 / 0.5426 GB, free: 3.203 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003256/0.4778, allocations: 43.94 kB / 0.5426 GB, free: 3.16 MB / 462.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.001059/0.4788, allocations: 0.8819 MB / 0.5435 GB, free: 2.246 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.4795, allocations: 200 kB / 0.5437 GB, free: 2.051 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.4795, allocations: 0 / 0.5437 GB, free: 2.051 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.4798, allocations: 95.86 kB / 0.5438 GB, free: 1.957 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.4802, allocations: 44.44 kB / 0.5438 GB, free: 1.914 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.4812, allocations: 320.4 kB / 0.5441 GB, free: 1.551 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.4816, allocations: 0.6928 MB / 0.5448 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002666/0.4818, allocations: 52.75 kB / 0.5448 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.482, allocations: 43.41 kB / 0.5449 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.482, allocations: 0 / 0.5449 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.5131, allocations: 4.578 MB / 0.5494 GB, free: 12.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.62, allocations: 19.84 kB / 0.5494 GB, free: 12.08 MB / 478.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.238035688998934]