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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 105.2 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 192.1 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 49.36 kB / 300.1 MB, free: 5.992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.085/0.08611, allocations: 49.44 MB / 349.5 MB, free: 4.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2871/0.3732, allocations: 147 MB / 496.5 MB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.3759, allocations: 2.56 MB / 499 MB, free: 15.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.3759, allocations: 4 kB / 499 MB, free: 15.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.3761, allocations: 21.89 kB / 499.1 MB, free: 15.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007266/0.3768, allocations: 272.3 kB / 499.3 MB, free: 15.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.377, allocations: 55.8 kB / 499.4 MB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.535e-05/0.3771, allocations: 75.55 kB / 499.5 MB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.141e-05/0.3772, allocations: 4 kB / 499.5 MB, free: 15.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.67e-05/0.3772, allocations: 35.84 kB / 499.5 MB, free: 15.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.3773, allocations: 27.86 kB / 499.5 MB, free: 15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.3773, allocations: 4 kB / 499.5 MB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006855/0.378, allocations: 363.5 kB / 499.9 MB, free: 14.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.378, allocations: 11.98 kB / 499.9 MB, free: 14.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.3781, allocations: 27.86 kB / 499.9 MB, free: 14.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.3786, allocations: 309 kB / 0.4885 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3786, allocations: 0 / 0.4885 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3786, allocations: 0 / 0.4885 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.3786, allocations: 0 / 0.4885 GB, free: 14.3 MB / 414.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.0008401/0.3795, allocations: 440.1 kB / 0.4889 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3795, allocations: 8.031 kB / 0.4889 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.3796, allocations: 38.73 kB / 0.489 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006236/0.3858, allocations: 448.2 kB / 0.4894 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.3859, allocations: 175.8 kB / 0.4896 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3859, allocations: 11.91 kB / 0.4896 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.386, allocations: 8 kB / 0.4896 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007715/0.3868, allocations: 297.3 kB / 0.4899 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3868, allocations: 0 / 0.4899 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.3869, allocations: 8 kB / 0.4899 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3869, allocations: 0 / 0.4899 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008206/0.3877, allocations: 271.8 kB / 0.4901 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009935/0.3887, allocations: 425.3 kB / 0.4905 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3898, allocations: 206.3 kB / 0.4907 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.39, allocations: 73.81 kB / 0.4908 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.39, allocations: 7.984 kB / 0.4908 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.39, allocations: 38.56 kB / 0.4908 GB, free: 11.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.39, allocations: 0 / 0.4908 GB, free: 11.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001682/0.3917, allocations: 424.4 kB / 0.4913 GB, free: 11.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.3918, allocations: 51.41 kB / 0.4913 GB, free: 11.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.595e-05/0.3918, allocations: 97.86 kB / 0.4914 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.3919, allocations: 33.69 kB / 0.4914 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.3919, allocations: 95.89 kB / 0.4915 GB, free: 11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.392, allocations: 59.11 kB / 0.4916 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.112e-05/0.3921, allocations: 45.69 kB / 0.4916 GB, free: 10.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3922, allocations: 314.8 kB / 0.4919 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.3925, allocations: 75.94 kB / 0.492 GB, free: 10.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.3928, allocations: 132.1 kB / 0.4921 GB, free: 10.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.3933, allocations: 200.1 kB / 0.4923 GB, free: 10.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3933, allocations: 0 / 0.4923 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006573/0.394, allocations: 251.8 kB / 0.4925 GB, free: 9.895 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.394, allocations: 4 kB / 0.4925 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.394, allocations: 0 / 0.4925 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.394, allocations: 4 kB / 0.4926 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.3944, allocations: 47.95 kB / 0.4926 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3944, allocations: 4 kB / 0.4926 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.3947, allocations: 11.98 kB / 0.4926 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.3948, allocations: 22.38 kB / 0.4926 GB, free: 9.805 MB / 414.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.0001091/0.3949, allocations: 129.7 kB / 0.4928 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.3949, allocations: 7.906 kB / 0.4928 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008388/0.3958, allocations: 270.7 kB / 0.493 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3958, allocations: 4 kB / 0.493 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3958, allocations: 0 / 0.493 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3958, allocations: 0 / 0.493 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.397, allocations: 0.5864 MB / 0.4936 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3971, allocations: 0 / 0.4936 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.3974, allocations: 56.5 kB / 0.4937 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3974, allocations: 0 / 0.4937 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.3975, allocations: 8 kB / 0.4937 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.3975, allocations: 7.938 kB / 0.4937 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3975, allocations: 3.938 kB / 0.4937 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/0.3981, allocations: 327.5 kB / 0.494 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.3982, allocations: 85 kB / 0.4941 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.3982, allocations: 8 kB / 0.4941 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.3985, allocations: 19.92 kB / 0.4941 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.3986, allocations: 15.92 kB / 0.4941 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.3986, allocations: 11.98 kB / 0.4941 GB, free: 8.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.472e-05/0.3986, allocations: 87.22 kB / 0.4942 GB, free: 8.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3986, allocations: 0 / 0.4942 GB, free: 8.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003438/0.399, allocations: 40 kB / 0.4942 GB, free: 8.051 MB / 414.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.001071/0.4001, allocations: 0.898 MB / 0.4951 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006068/0.4007, allocations: 191.8 kB / 0.4953 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4007, allocations: 256 / 0.4953 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.401, allocations: 111.4 kB / 0.4954 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.4015, allocations: 36.28 kB / 0.4954 GB, free: 6.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009895/0.4025, allocations: 346.5 kB / 0.4958 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.4027, allocations: 0.6931 MB / 0.4965 GB, free: 5.695 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004048/0.4031, allocations: 56.75 kB / 0.4965 GB, free: 5.641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.4033, allocations: 39.41 kB / 0.4965 GB, free: 5.605 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4033, allocations: 0 / 0.4965 GB, free: 5.605 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.4165, allocations: 4.068 MB / 0.5005 GB, free: 1.633 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/0.4168, allocations: 180.3 kB / 0.5007 GB, free: 1.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.134, allocations: 0 / 0.5007 GB, free: 1.379 MB / 414.1 MB (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 --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) 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) Reference file matches