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.001812/0.001812, allocations: 114 kB / 20.43 MB, free: 1.457 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.001508/0.001508, allocations: 214.7 kB / 23.74 MB, free: 4.672 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.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.003094/0.003094, allocations: 63.89 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3134, allocations: 53.4 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4227/0.7361, allocations: 152.7 MB / 0.5702 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.7383, allocations: 2.565 MB / 0.5727 GB, free: 13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.7383, allocations: 0 / 0.5727 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.7385, allocations: 24.67 kB / 0.5727 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008846/0.7394, allocations: 346.7 kB / 0.573 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.7396, allocations: 59.89 kB / 0.5731 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.7397, allocations: 107.6 kB / 0.5732 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.7397, allocations: 2.812 kB / 0.5732 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.626e-05/0.7398, allocations: 41.33 kB / 0.5732 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.736e-05/0.7399, allocations: 39.14 kB / 0.5733 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.7399, allocations: 2.469 kB / 0.5733 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006607/0.7406, allocations: 371.7 kB / 0.5736 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.7406, allocations: 12.8 kB / 0.5736 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.7406, allocations: 39.02 kB / 0.5737 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.7411, allocations: 315.9 kB / 0.574 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7411, allocations: 2.312 kB / 0.574 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.7411, allocations: 4 kB / 0.574 GB, free: 12.79 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.7411, allocations: 0 / 0.574 GB, free: 12.79 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.0009032/0.742, allocations: 389.2 kB / 0.5743 GB, free: 12.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.742, allocations: 7.594 kB / 0.5744 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.7421, allocations: 42.84 kB / 0.5744 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005932/0.748, allocations: 465.5 kB / 0.5748 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.7482, allocations: 130.4 kB / 0.575 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.7482, allocations: 2.562 kB / 0.575 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/0.7483, allocations: 8.219 kB / 0.575 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.749, allocations: 294.9 kB / 0.5753 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.749, allocations: 7.984 kB / 0.5753 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.749, allocations: 5.969 kB / 0.5753 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.7491, allocations: 0 / 0.5753 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007207/0.7498, allocations: 275.5 kB / 0.5755 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.7501, allocations: 221.6 kB / 0.5757 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.7505, allocations: 155.3 kB / 0.5759 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.7507, allocations: 80.5 kB / 0.576 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.7507, allocations: 5.109 kB / 0.576 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.7507, allocations: 40.66 kB / 0.576 GB, free: 11.99 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.7507, allocations: 0 / 0.576 GB, free: 11.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002072/0.7528, allocations: 0.5811 MB / 0.5766 GB, free: 11.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.7529, allocations: 58.38 kB / 0.5766 GB, free: 11.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.753, allocations: 107.3 kB / 0.5767 GB, free: 11.76 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.753, allocations: 30.59 kB / 0.5768 GB, free: 11.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.7531, allocations: 83.45 kB / 0.5768 GB, free: 11.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.7531, allocations: 91.75 kB / 0.5769 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/0.7532, allocations: 42.42 kB / 0.577 GB, free: 11.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.7534, allocations: 322.4 kB / 0.5773 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.7537, allocations: 99.73 kB / 0.5774 GB, free: 11.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.7539, allocations: 99.11 kB / 0.5775 GB, free: 11.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/0.7545, allocations: 226.1 kB / 0.5777 GB, free: 11.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.7545, allocations: 0 / 0.5777 GB, free: 11.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006772/0.7551, allocations: 289.5 kB / 0.578 GB, free: 11.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.7552, allocations: 9.094 kB / 0.578 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.7552, allocations: 1.094 kB / 0.578 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.7552, allocations: 7.562 kB / 0.578 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.7556, allocations: 52.83 kB / 0.578 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.7556, allocations: 2.469 kB / 0.578 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.7559, allocations: 10.11 kB / 0.578 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.7559, allocations: 19.27 kB / 0.5781 GB, free: 11.18 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.0001412/0.7561, allocations: 122 kB / 0.5782 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.7561, allocations: 10.8 kB / 0.5782 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008937/0.757, allocations: 359.2 kB / 0.5785 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.757, allocations: 6.406 kB / 0.5785 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.757, allocations: 3.391 kB / 0.5785 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.757, allocations: 2.109 kB / 0.5785 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.7586, allocations: 0.6992 MB / 0.5792 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.7586, allocations: 2.656 kB / 0.5792 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.759, allocations: 62.03 kB / 0.5793 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.759, allocations: 2.125 kB / 0.5793 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.7591, allocations: 8.406 kB / 0.5793 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.7591, allocations: 4.625 kB / 0.5793 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7591, allocations: 0 / 0.5793 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008047/0.7599, allocations: 418.4 kB / 0.5797 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.7599, allocations: 12.41 kB / 0.5797 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.7599, allocations: 6.219 kB / 0.5797 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.7602, allocations: 15.59 kB / 0.5797 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.7603, allocations: 24.34 kB / 0.5798 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.7603, allocations: 13.45 kB / 0.5798 GB, free: 10.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.605e-05/0.7604, allocations: 95.09 kB / 0.5799 GB, free: 10.37 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7604, allocations: 4 kB / 0.5799 GB, free: 10.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003652/0.7608, allocations: 53.09 kB / 0.5799 GB, free: 10.36 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.001162/0.7619, allocations: 0.9574 MB / 0.5808 GB, free: 9.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.7626, allocations: 241 kB / 0.5811 GB, free: 9.633 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7626, allocations: 0 / 0.5811 GB, free: 9.633 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.7629, allocations: 133.8 kB / 0.5812 GB, free: 9.621 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/0.7635, allocations: 63.62 kB / 0.5813 GB, free: 9.609 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.7669, allocations: 2.115 MB / 0.5833 GB, free: 8.285 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.7673, allocations: 0.707 MB / 0.584 GB, free: 7.586 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002972/0.7676, allocations: 53.92 kB / 0.5841 GB, free: 7.559 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.7678, allocations: 58.38 kB / 0.5841 GB, free: 7.547 MB / 462.1 MB Notification: Performance of SimCode: time 7.02e-07/0.7678, allocations: 0 / 0.5841 GB, free: 7.547 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.8001, allocations: 5.899 MB / 0.5899 GB, free: 4.543 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.58, allocations: 7.625 kB / 0.5899 GB, free: 4.539 MB / 462.1 MB " [Timeout remaining time 648] (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: 14.153527098998893]