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.00171/0.00171, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001585/0.001585, allocations: 189.9 kB / 23.72 MB, free: 4.684 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.422/1.422, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001548/0.001548, allocations: 43.92 kB / 370.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2685, allocations: 52.19 MB / 422.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4185/0.6869, allocations: 149.7 MB / 0.5589 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.6894, allocations: 2.541 MB / 0.5614 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.6894, allocations: 0 / 0.5614 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.6896, allocations: 24.58 kB / 0.5614 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.6906, allocations: 322.9 kB / 0.5617 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.6908, allocations: 57.72 kB / 0.5618 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.6909, allocations: 75.31 kB / 0.5618 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.691, allocations: 8.031 kB / 0.5618 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.995e-05/0.6911, allocations: 34.52 kB / 0.5619 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.6911, allocations: 30.53 kB / 0.5619 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.6911, allocations: 6.781 kB / 0.5619 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006771/0.6918, allocations: 361.4 kB / 0.5623 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.6918, allocations: 10.58 kB / 0.5623 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.6919, allocations: 23.56 kB / 0.5623 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.6923, allocations: 303.6 kB / 0.5626 GB, free: 15.55 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6923, allocations: 4.609 kB / 0.5626 GB, free: 15.55 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6923, allocations: 2.25 kB / 0.5626 GB, free: 15.55 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.453e-06/0.6923, allocations: 2.625 kB / 0.5626 GB, free: 15.55 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.0008508/0.6932, allocations: 361.5 kB / 0.5629 GB, free: 15.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.6932, allocations: 10.25 kB / 0.5629 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.6932, allocations: 36.91 kB / 0.563 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005704/0.6989, allocations: 457.4 kB / 0.5634 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.6991, allocations: 111.9 kB / 0.5635 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.6991, allocations: 6.938 kB / 0.5635 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.6992, allocations: 6.375 kB / 0.5635 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/0.6999, allocations: 296.8 kB / 0.5638 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.6999, allocations: 0 / 0.5638 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.6999, allocations: 9.188 kB / 0.5638 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.6999, allocations: 0 / 0.5638 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006963/0.7006, allocations: 275.9 kB / 0.5641 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009693/0.7016, allocations: 399.3 kB / 0.5645 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009393/0.7025, allocations: 197.8 kB / 0.5647 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.7027, allocations: 76.62 kB / 0.5647 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.7027, allocations: 3.5 kB / 0.5647 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.7028, allocations: 30.56 kB / 0.5648 GB, free: 14.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.7028, allocations: 0 / 0.5648 GB, free: 14.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001583/0.7043, allocations: 427.7 kB / 0.5652 GB, free: 14.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.7044, allocations: 53.53 kB / 0.5652 GB, free: 14.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.829e-05/0.7045, allocations: 101 kB / 0.5653 GB, free: 14.49 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.7045, allocations: 32.98 kB / 0.5653 GB, free: 14.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.7046, allocations: 97.36 kB / 0.5654 GB, free: 14.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.7046, allocations: 60.27 kB / 0.5655 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.214e-05/0.7047, allocations: 40.7 kB / 0.5655 GB, free: 14.31 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.7048, allocations: 319.2 kB / 0.5658 GB, free: 14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.7051, allocations: 79.14 kB / 0.5659 GB, free: 14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.7053, allocations: 126 kB / 0.566 GB, free: 13.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.7058, allocations: 205.9 kB / 0.5662 GB, free: 13.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.7058, allocations: 2.625 kB / 0.5662 GB, free: 13.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000583/0.7064, allocations: 240.6 kB / 0.5665 GB, free: 13.86 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.7064, allocations: 5.312 kB / 0.5665 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.7064, allocations: 4.438 kB / 0.5665 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.7065, allocations: 0 / 0.5665 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.7068, allocations: 52.86 kB / 0.5665 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.7068, allocations: 3.359 kB / 0.5665 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.7071, allocations: 23.36 kB / 0.5666 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.7071, allocations: 16.94 kB / 0.5666 GB, free: 13.85 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.0001171/0.7072, allocations: 117.2 kB / 0.5667 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.7073, allocations: 10.45 kB / 0.5667 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007206/0.708, allocations: 273.8 kB / 0.5669 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.708, allocations: 2.469 kB / 0.567 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.708, allocations: 4 kB / 0.567 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.708, allocations: 4.953 kB / 0.567 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.7092, allocations: 0.5471 MB / 0.5675 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.7092, allocations: 4 kB / 0.5675 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.7095, allocations: 45.67 kB / 0.5675 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.7095, allocations: 1.938 kB / 0.5675 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.7096, allocations: 9.031 kB / 0.5676 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/0.7096, allocations: 5.031 kB / 0.5676 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7096, allocations: 5.156 kB / 0.5676 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005937/0.7102, allocations: 330.6 kB / 0.5679 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.7102, allocations: 9.203 kB / 0.5679 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.7102, allocations: 5.719 kB / 0.5679 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.7105, allocations: 20.86 kB / 0.5679 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.7105, allocations: 15.67 kB / 0.5679 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.7105, allocations: 9.906 kB / 0.5679 GB, free: 13.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.908e-05/0.7106, allocations: 79.8 kB / 0.568 GB, free: 13.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7106, allocations: 0 / 0.568 GB, free: 13.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003339/0.7109, allocations: 45.8 kB / 0.5681 GB, free: 13.14 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.001046/0.712, allocations: 0.8877 MB / 0.5689 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005804/0.7125, allocations: 193.9 kB / 0.5691 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.7125, allocations: 0 / 0.5691 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.7128, allocations: 101.4 kB / 0.5692 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.7133, allocations: 45.3 kB / 0.5692 GB, free: 12.42 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009836/0.7143, allocations: 309.6 kB / 0.5695 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.7146, allocations: 0.6931 MB / 0.5702 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002807/0.7149, allocations: 53.88 kB / 0.5703 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.715, allocations: 42.11 kB / 0.5703 GB, free: 11.5 MB / 462.1 MB Notification: Performance of SimCode: time 3.2e-07/0.715, allocations: 4 kB / 0.5703 GB, free: 11.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.7468, allocations: 4.584 MB / 0.5748 GB, free: 10.94 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.36, allocations: 14.08 kB / 0.5748 GB, free: 10.93 MB / 462.1 MB " [Timeout remaining time 649] (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: 13.869330101999367]