Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001955/0.001955, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002784/0.002784, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 71.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1093, allocations: 53.37 MB / 426.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3947/0.504, allocations: 152.6 MB / 0.5654 GB, free: 7.527 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.507, allocations: 2.557 MB / 0.5679 GB, free: 4.965 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.5071, allocations: 0 / 0.5679 GB, free: 4.965 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.5072, allocations: 27.83 kB / 0.5679 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009539/0.5082, allocations: 336.9 kB / 0.5683 GB, free: 4.609 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.5084, allocations: 63.73 kB / 0.5683 GB, free: 4.547 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.5085, allocations: 107.3 kB / 0.5684 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.5086, allocations: 8 kB / 0.5684 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.5087, allocations: 35.86 kB / 0.5685 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.69e-05/0.5088, allocations: 43.72 kB / 0.5685 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.5088, allocations: 4 kB / 0.5685 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007059/0.5095, allocations: 371.5 kB / 0.5689 GB, free: 3.988 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.5095, allocations: 13.33 kB / 0.5689 GB, free: 3.977 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.5095, allocations: 47.8 kB / 0.5689 GB, free: 3.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005163/0.5101, allocations: 307.6 kB / 0.5692 GB, free: 3.633 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5101, allocations: 0 / 0.5692 GB, free: 3.633 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5101, allocations: 0 / 0.5692 GB, free: 3.633 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.5101, allocations: 0 / 0.5692 GB, free: 3.633 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.0009844/0.5111, allocations: 462.7 kB / 0.5697 GB, free: 3.133 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5111, allocations: 16.03 kB / 0.5697 GB, free: 3.117 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.5111, allocations: 34.75 kB / 0.5697 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006766/0.5179, allocations: 464.2 kB / 0.5701 GB, free: 2.621 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.5181, allocations: 187.4 kB / 0.5703 GB, free: 2.398 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.5181, allocations: 0 / 0.5703 GB, free: 2.398 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.48e-05/0.5182, allocations: 8 kB / 0.5703 GB, free: 2.391 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.519, allocations: 301.3 kB / 0.5706 GB, free: 2.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.519, allocations: 0 / 0.5706 GB, free: 2.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.5191, allocations: 4.656 kB / 0.5706 GB, free: 2.086 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5191, allocations: 4 kB / 0.5706 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008743/0.52, allocations: 277 kB / 0.5709 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.5203, allocations: 253.4 kB / 0.5711 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.5207, allocations: 142.8 kB / 0.5713 GB, free: 1.367 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.5209, allocations: 88.8 kB / 0.5714 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.521, allocations: 8 kB / 0.5714 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.521, allocations: 38.16 kB / 0.5714 GB, free: 1.227 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.521, allocations: 0 / 0.5714 GB, free: 1.227 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.002341/0.5233, allocations: 0.5813 MB / 0.572 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.5234, allocations: 55.41 kB / 0.572 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.5235, allocations: 105.8 kB / 0.5721 GB, free: 472 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.5235, allocations: 33.7 kB / 0.5722 GB, free: 432 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.5235, allocations: 88.58 kB / 0.5722 GB, free: 340 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.692e-05/0.5236, allocations: 79.27 kB / 0.5723 GB, free: 260 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.5237, allocations: 49.69 kB / 0.5724 GB, free: 204 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5239, allocations: 314.8 kB / 0.5727 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.5242, allocations: 103.9 kB / 0.5728 GB, free: 15.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.5245, allocations: 99.94 kB / 0.5729 GB, free: 15.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.5252, allocations: 233 kB / 0.5731 GB, free: 15.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.5252, allocations: 0 / 0.5731 GB, free: 15.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007976/0.526, allocations: 285.3 kB / 0.5733 GB, free: 15.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.526, allocations: 8 kB / 0.5734 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.526, allocations: 0 / 0.5734 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.526, allocations: 3.938 kB / 0.5734 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.5265, allocations: 59.89 kB / 0.5734 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5265, allocations: 0.625 kB / 0.5734 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.5268, allocations: 19.98 kB / 0.5734 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.5268, allocations: 11.98 kB / 0.5734 GB, free: 15.07 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.000132/0.527, allocations: 117.8 kB / 0.5736 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.527, allocations: 7.953 kB / 0.5736 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.528, allocations: 350.8 kB / 0.5739 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5281, allocations: 7.875 kB / 0.5739 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5281, allocations: 7.984 kB / 0.5739 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5281, allocations: 4 kB / 0.5739 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.5297, allocations: 0.7272 MB / 0.5746 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.5297, allocations: 0 / 0.5746 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.5302, allocations: 55.95 kB / 0.5747 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.5302, allocations: 0 / 0.5747 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.5302, allocations: 19.92 kB / 0.5747 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5302, allocations: 0 / 0.5747 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.5302, allocations: 10.64 kB / 0.5747 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008939/0.5311, allocations: 416.5 kB / 0.5751 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.5312, allocations: 89.02 kB / 0.5752 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.5312, allocations: 8 kB / 0.5752 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.5315, allocations: 13.48 kB / 0.5752 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.5316, allocations: 27.84 kB / 0.5752 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.5316, allocations: 11.98 kB / 0.5753 GB, free: 13.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.098e-05/0.5317, allocations: 91.28 kB / 0.5753 GB, free: 13 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5317, allocations: 0 / 0.5753 GB, free: 13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.5321, allocations: 56 kB / 0.5754 GB, free: 12.95 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.00138/0.5334, allocations: 0.9628 MB / 0.5763 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000846/0.5343, allocations: 247.6 kB / 0.5766 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5343, allocations: 4 kB / 0.5766 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.5347, allocations: 131.2 kB / 0.5767 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.5352, allocations: 57.61 kB / 0.5768 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.5391, allocations: 2.101 MB / 0.5788 GB, free: 9.305 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.5395, allocations: 0.7086 MB / 0.5795 GB, free: 8.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003011/0.5398, allocations: 55.69 kB / 0.5796 GB, free: 8.516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.54, allocations: 55.41 kB / 0.5796 GB, free: 8.461 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.54, allocations: 0 / 0.5796 GB, free: 8.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.5698, allocations: 5.632 MB / 0.5851 GB, free: 2.914 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.472, allocations: 0 / 0.5851 GB, free: 2.914 MB / 494.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable smoothState.p from file Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_p in file Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_p from file Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_T in file Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_T from file Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.076701298938133]