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.001219/0.001219, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001295/0.001295, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.318/1.318, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 51.92 kB / 371.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2162, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3688/0.585, allocations: 149.7 MB / 0.5597 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.587, allocations: 2.533 MB / 0.5621 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.587, allocations: 6.906 kB / 0.5621 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.5872, allocations: 22.03 kB / 0.5622 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009216/0.5881, allocations: 324 kB / 0.5625 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.5883, allocations: 60.11 kB / 0.5625 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.5884, allocations: 79.62 kB / 0.5626 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.5885, allocations: 0 / 0.5626 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.5886, allocations: 42.8 kB / 0.5626 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.842e-05/0.5886, allocations: 25.16 kB / 0.5627 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.5886, allocations: 3.406 kB / 0.5627 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006578/0.5893, allocations: 359.2 kB / 0.563 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.5893, allocations: 18.73 kB / 0.563 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.5893, allocations: 24.08 kB / 0.5631 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004057/0.5898, allocations: 299.6 kB / 0.5633 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5898, allocations: 4.578 kB / 0.5633 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5898, allocations: 0 / 0.5633 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.5898, allocations: 0 / 0.5633 GB, free: 15.59 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.0008118/0.5906, allocations: 363.8 kB / 0.5637 GB, free: 15.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.5906, allocations: 10.06 kB / 0.5637 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.559e-05/0.5906, allocations: 3.781 kB / 0.5637 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.5907, allocations: 36.84 kB / 0.5637 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005732/0.5964, allocations: 457.1 kB / 0.5642 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.477e-05/0.5965, allocations: 112.9 kB / 0.5643 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5965, allocations: 7.156 kB / 0.5643 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.5966, allocations: 8.219 kB / 0.5643 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007099/0.5973, allocations: 301.1 kB / 0.5646 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5973, allocations: 0 / 0.5646 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.5973, allocations: 0 / 0.5646 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.5973, allocations: 2.562 kB / 0.5646 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007258/0.5981, allocations: 277.4 kB / 0.5649 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009315/0.599, allocations: 405.2 kB / 0.5652 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009254/0.5999, allocations: 201.7 kB / 0.5654 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.6001, allocations: 74.22 kB / 0.5655 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.6001, allocations: 7.469 kB / 0.5655 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.6002, allocations: 30.56 kB / 0.5655 GB, free: 14.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.6002, allocations: 0 / 0.5655 GB, free: 14.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001606/0.6018, allocations: 423.3 kB / 0.5659 GB, free: 14.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.6018, allocations: 53.53 kB / 0.566 GB, free: 14.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.6019, allocations: 101 kB / 0.5661 GB, free: 14.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.6019, allocations: 33.33 kB / 0.5661 GB, free: 14.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.602, allocations: 99.95 kB / 0.5662 GB, free: 14.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.602, allocations: 60.89 kB / 0.5663 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/0.6021, allocations: 41.62 kB / 0.5663 GB, free: 14.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6023, allocations: 319.9 kB / 0.5666 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.6025, allocations: 78.77 kB / 0.5667 GB, free: 14.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.6028, allocations: 122.8 kB / 0.5668 GB, free: 13.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.6033, allocations: 207 kB / 0.567 GB, free: 13.93 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6033, allocations: 0 / 0.567 GB, free: 13.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006047/0.6039, allocations: 249.6 kB / 0.5672 GB, free: 13.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6039, allocations: 4.844 kB / 0.5673 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6039, allocations: 6.219 kB / 0.5673 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.6039, allocations: 3 kB / 0.5673 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.6043, allocations: 53.2 kB / 0.5673 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.6043, allocations: 4.875 kB / 0.5673 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.6046, allocations: 17.11 kB / 0.5673 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.6046, allocations: 14.38 kB / 0.5673 GB, free: 13.88 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.0001189/0.6047, allocations: 121.1 kB / 0.5675 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.6048, allocations: 8.703 kB / 0.5675 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007291/0.6055, allocations: 276 kB / 0.5677 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.6055, allocations: 6.172 kB / 0.5677 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6055, allocations: 4 kB / 0.5677 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6055, allocations: 1.688 kB / 0.5677 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.6067, allocations: 0.5545 MB / 0.5683 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6067, allocations: 2.656 kB / 0.5683 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.607, allocations: 47.17 kB / 0.5683 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.607, allocations: 2.312 kB / 0.5683 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.607, allocations: 6.344 kB / 0.5683 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.607, allocations: 6.125 kB / 0.5683 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.607, allocations: 2.156 kB / 0.5683 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.6076, allocations: 326 kB / 0.5687 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.6077, allocations: 10.27 kB / 0.5687 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.6077, allocations: 5.406 kB / 0.5687 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.608, allocations: 22.75 kB / 0.5687 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.608, allocations: 11.59 kB / 0.5687 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.608, allocations: 10.89 kB / 0.5687 GB, free: 13.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.6081, allocations: 80.88 kB / 0.5688 GB, free: 13.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6081, allocations: 2.469 kB / 0.5688 GB, free: 13.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.6084, allocations: 39.88 kB / 0.5688 GB, free: 13.16 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.001029/0.6094, allocations: 0.8882 MB / 0.5697 GB, free: 12.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.61, allocations: 198.3 kB / 0.5699 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.61, allocations: 2.25 kB / 0.5699 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.6102, allocations: 100.6 kB / 0.57 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.6107, allocations: 39.78 kB / 0.57 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009115/0.6116, allocations: 310.5 kB / 0.5703 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.6119, allocations: 0.6917 MB / 0.571 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002551/0.6122, allocations: 55.84 kB / 0.5711 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.6123, allocations: 43.61 kB / 0.5711 GB, free: 11.53 MB / 462.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6123, allocations: 4 kB / 0.5711 GB, free: 11.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.636, allocations: 4.608 MB / 0.5756 GB, free: 10.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.21, allocations: 1.812 kB / 0.5756 GB, free: 10.96 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.48190895904554]