Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001758/0.001758, allocations: 113.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.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.001834/0.001834, allocations: 214.9 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 47.92 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2662, allocations: 53.36 MB / 431.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4346/0.7008, allocations: 152.7 MB / 0.5701 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.7035, allocations: 2.568 MB / 0.5726 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.7036, allocations: 1.203 kB / 0.5726 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.7037, allocations: 30.61 kB / 0.5727 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.7048, allocations: 333.6 kB / 0.573 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.705, allocations: 64.59 kB / 0.573 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.7051, allocations: 107.5 kB / 0.5731 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.7052, allocations: 4.719 kB / 0.5731 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.7053, allocations: 44.45 kB / 0.5732 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.7054, allocations: 39.66 kB / 0.5732 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.7054, allocations: 5.094 kB / 0.5732 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007494/0.7062, allocations: 370.6 kB / 0.5736 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.7062, allocations: 8 kB / 0.5736 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.7062, allocations: 39.33 kB / 0.5736 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005139/0.7067, allocations: 315.6 kB / 0.5739 GB, free: 12.78 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.7068, allocations: 0 / 0.5739 GB, free: 12.78 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7068, allocations: 5.688 kB / 0.5739 GB, free: 12.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.7068, allocations: 0 / 0.5739 GB, free: 12.77 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.0009985/0.7078, allocations: 395 kB / 0.5743 GB, free: 12.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.7078, allocations: 9.625 kB / 0.5743 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.7079, allocations: 38.25 kB / 0.5744 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005847/0.7137, allocations: 465.4 kB / 0.5748 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.7139, allocations: 121.7 kB / 0.5749 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.7139, allocations: 6.219 kB / 0.5749 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/0.714, allocations: 4.344 kB / 0.5749 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007211/0.7147, allocations: 294.4 kB / 0.5752 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.7147, allocations: 10.56 kB / 0.5752 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.7148, allocations: 3.562 kB / 0.5752 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.7148, allocations: 4.266 kB / 0.5752 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/0.7155, allocations: 271.8 kB / 0.5755 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.7158, allocations: 224.6 kB / 0.5757 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.7162, allocations: 152.8 kB / 0.5758 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.7164, allocations: 80.8 kB / 0.5759 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.7164, allocations: 5.406 kB / 0.5759 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.7164, allocations: 41.28 kB / 0.576 GB, free: 11.97 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/0.7164, allocations: 0 / 0.576 GB, free: 11.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002031/0.7184, allocations: 0.5811 MB / 0.5765 GB, free: 11.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.7185, allocations: 53.53 kB / 0.5766 GB, free: 11.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.007e-05/0.7186, allocations: 111.5 kB / 0.5767 GB, free: 11.74 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.7186, allocations: 28.02 kB / 0.5767 GB, free: 11.71 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.7187, allocations: 83.77 kB / 0.5768 GB, free: 11.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/0.7187, allocations: 89.72 kB / 0.5769 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/0.7188, allocations: 46.28 kB / 0.5769 GB, free: 11.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.719, allocations: 323.8 kB / 0.5772 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.7193, allocations: 97.05 kB / 0.5773 GB, free: 11.24 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.7195, allocations: 107.9 kB / 0.5774 GB, free: 11.24 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.72, allocations: 226.9 kB / 0.5776 GB, free: 11.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.72, allocations: 4.953 kB / 0.5776 GB, free: 11.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006637/0.7207, allocations: 289.2 kB / 0.5779 GB, free: 11.17 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.7207, allocations: 5.281 kB / 0.5779 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7207, allocations: 0 / 0.5779 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.7207, allocations: 3.938 kB / 0.5779 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.7212, allocations: 56.06 kB / 0.578 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.7212, allocations: 1.203 kB / 0.578 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.7215, allocations: 15.42 kB / 0.578 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.7215, allocations: 14.08 kB / 0.578 GB, free: 11.16 MB / 462.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.0001185/0.7216, allocations: 124.6 kB / 0.5781 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.7217, allocations: 9.359 kB / 0.5781 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000843/0.7225, allocations: 351.9 kB / 0.5785 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.7225, allocations: 6.062 kB / 0.5785 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7225, allocations: 0.5625 kB / 0.5785 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7225, allocations: 2.297 kB / 0.5785 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.724, allocations: 0.6938 MB / 0.5792 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.724, allocations: 4 kB / 0.5792 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.7244, allocations: 64.47 kB / 0.5792 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.7244, allocations: 2.125 kB / 0.5792 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.7244, allocations: 11.12 kB / 0.5792 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.7244, allocations: 3.594 kB / 0.5792 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7244, allocations: 3.234 kB / 0.5792 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007588/0.7252, allocations: 412.8 kB / 0.5796 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.7252, allocations: 15.8 kB / 0.5797 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.7253, allocations: 5.594 kB / 0.5797 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.7256, allocations: 16 kB / 0.5797 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.7256, allocations: 22.62 kB / 0.5797 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.7256, allocations: 17.77 kB / 0.5797 GB, free: 10.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.168e-05/0.7257, allocations: 89.2 kB / 0.5798 GB, free: 10.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7257, allocations: 7.938 kB / 0.5798 GB, free: 10.35 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003605/0.7261, allocations: 56.45 kB / 0.5799 GB, free: 10.35 MB / 462.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.001188/0.7272, allocations: 0.9634 MB / 0.5808 GB, free: 9.625 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000668/0.7279, allocations: 244.7 kB / 0.581 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7279, allocations: 0 / 0.581 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.7282, allocations: 128 kB / 0.5812 GB, free: 9.602 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/0.7288, allocations: 54.36 kB / 0.5812 GB, free: 9.598 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.7324, allocations: 2.115 MB / 0.5833 GB, free: 8.277 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.7329, allocations: 0.7049 MB / 0.584 GB, free: 7.578 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000355/0.7332, allocations: 58.5 kB / 0.584 GB, free: 7.547 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.7334, allocations: 60.41 kB / 0.5841 GB, free: 7.531 MB / 462.1 MB Notification: Performance of SimCode: time 1.223e-06/0.7334, allocations: 0 / 0.5841 GB, free: 7.531 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03424/0.7677, allocations: 5.906 MB / 0.5898 GB, free: 4.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.53, allocations: 6.312 kB / 0.5899 GB, free: 4.57 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable smoothState.p from file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_p in file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_p from file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_T in file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_T from file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.116700096998102]