Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 183.7 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.7 MB / 252.5 MB, free: 12.88 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 51.92 kB / 370.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2347, allocations: 52.18 MB / 422.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3751/0.6098, allocations: 128.3 MB / 0.5379 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.6122, allocations: 2.239 MB / 0.5401 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.6122, allocations: 2.688 kB / 0.5401 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.6124, allocations: 19.23 kB / 0.5402 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009564/0.6134, allocations: 329.2 kB / 0.5405 GB, free: 1.453 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.6136, allocations: 58.94 kB / 0.5405 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.6137, allocations: 78.27 kB / 0.5406 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.6137, allocations: 6.938 kB / 0.5406 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.6138, allocations: 30.64 kB / 0.5406 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/0.6139, allocations: 31.59 kB / 0.5407 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.6139, allocations: 3.75 kB / 0.5407 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006945/0.6146, allocations: 336.7 kB / 0.541 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.6146, allocations: 9.984 kB / 0.541 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.6146, allocations: 25.55 kB / 0.541 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.6151, allocations: 297.4 kB / 0.5413 GB, free: 1.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6151, allocations: 0.875 kB / 0.5413 GB, free: 1.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6151, allocations: 2.797 kB / 0.5413 GB, free: 1.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.6151, allocations: 0.875 kB / 0.5413 GB, free: 1.43 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.0009474/0.6161, allocations: 358.8 kB / 0.5417 GB, free: 17.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.6161, allocations: 10.12 kB / 0.5417 GB, free: 17.14 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.6161, allocations: 43.28 kB / 0.5417 GB, free: 17.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006206/0.6224, allocations: 457.1 kB / 0.5421 GB, free: 17.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.6225, allocations: 112.2 kB / 0.5422 GB, free: 16.97 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.6225, allocations: 3.719 kB / 0.5423 GB, free: 16.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/0.6226, allocations: 13.69 kB / 0.5423 GB, free: 16.96 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.6233, allocations: 299.8 kB / 0.5426 GB, free: 16.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6233, allocations: 0 / 0.5426 GB, free: 16.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.6233, allocations: 4.844 kB / 0.5426 GB, free: 16.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.6234, allocations: 2.219 kB / 0.5426 GB, free: 16.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007169/0.6241, allocations: 274.5 kB / 0.5428 GB, free: 16.93 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009529/0.625, allocations: 389.6 kB / 0.5432 GB, free: 16.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009417/0.626, allocations: 198 kB / 0.5434 GB, free: 16.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.6261, allocations: 64.66 kB / 0.5434 GB, free: 16.64 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.6262, allocations: 10.14 kB / 0.5435 GB, free: 16.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.6262, allocations: 30.56 kB / 0.5435 GB, free: 16.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.6262, allocations: 0.875 kB / 0.5435 GB, free: 16.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001615/0.6278, allocations: 424 kB / 0.5439 GB, free: 16.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.6279, allocations: 55.31 kB / 0.5439 GB, free: 16.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.6279, allocations: 103.7 kB / 0.544 GB, free: 16.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.628, allocations: 29.98 kB / 0.5441 GB, free: 16.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.628, allocations: 97.61 kB / 0.5442 GB, free: 16.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.6281, allocations: 57.34 kB / 0.5442 GB, free: 16.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.6281, allocations: 53.56 kB / 0.5443 GB, free: 16.21 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6283, allocations: 312 kB / 0.5446 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.6285, allocations: 83.86 kB / 0.5446 GB, free: 15.89 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.6288, allocations: 116.8 kB / 0.5448 GB, free: 15.85 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.6293, allocations: 207.4 kB / 0.545 GB, free: 15.81 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6293, allocations: 2.5 kB / 0.545 GB, free: 15.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005998/0.6299, allocations: 247.5 kB / 0.5452 GB, free: 15.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6299, allocations: 8.609 kB / 0.5452 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6299, allocations: 4.344 kB / 0.5452 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.6299, allocations: 0 / 0.5452 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.6303, allocations: 49.02 kB / 0.5452 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.6303, allocations: 3.469 kB / 0.5453 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.6305, allocations: 18.31 kB / 0.5453 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.6306, allocations: 16.55 kB / 0.5453 GB, free: 15.77 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.0001241/0.6307, allocations: 119.1 kB / 0.5454 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.6307, allocations: 6.031 kB / 0.5454 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/0.6314, allocations: 274.1 kB / 0.5457 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6315, allocations: 6.641 kB / 0.5457 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6315, allocations: 0.9688 kB / 0.5457 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.6315, allocations: 0 / 0.5457 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.6326, allocations: 0.536 MB / 0.5462 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.6326, allocations: 4.562 kB / 0.5462 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.633, allocations: 45.78 kB / 0.5462 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.633, allocations: 0 / 0.5462 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.633, allocations: 15.83 kB / 0.5463 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.633, allocations: 4.688 kB / 0.5463 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.633, allocations: 7.922 kB / 0.5463 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000623/0.6336, allocations: 328.2 kB / 0.5466 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.6337, allocations: 9.141 kB / 0.5466 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.6337, allocations: 7.969 kB / 0.5466 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.634, allocations: 16.78 kB / 0.5466 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.634, allocations: 14.92 kB / 0.5466 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.634, allocations: 10.02 kB / 0.5466 GB, free: 15.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.074e-05/0.6341, allocations: 81.92 kB / 0.5467 GB, free: 15.08 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6341, allocations: 0 / 0.5467 GB, free: 15.08 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003402/0.6344, allocations: 49.03 kB / 0.5468 GB, free: 15.07 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.001022/0.6354, allocations: 0.8863 MB / 0.5476 GB, free: 14.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005771/0.636, allocations: 194.5 kB / 0.5478 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.636, allocations: 0.9688 kB / 0.5478 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.6363, allocations: 98.44 kB / 0.5479 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.6367, allocations: 36.12 kB / 0.5479 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.6376, allocations: 315.4 kB / 0.5482 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.218e-05/0.6377, allocations: 81.2 kB / 0.5483 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002826/0.638, allocations: 52.03 kB / 0.5484 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.6381, allocations: 44.14 kB / 0.5484 GB, free: 14.11 MB / 462.1 MB Notification: Performance of SimCode: time 3.8e-07/0.6381, allocations: 2.328 kB / 0.5484 GB, free: 14.11 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.6705, allocations: 5.138 MB / 0.5534 GB, free: 13.16 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.88, allocations: 4.953 kB / 0.5534 GB, free: 13.16 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable smoothState.p from file Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_p in file Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_p from file Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_T in file Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_T from file Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.400553467217833]