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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008431/0.0008431, allocations: 97.98 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009543/0.0009543, allocations: 204.1 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.187/1.187, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000198/0.000198, allocations: 8 kB / 307.8 MB, free: 0.7383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0775/0.07772, allocations: 51.52 MB / 359.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2758/0.3536, allocations: 148.1 MB / 0.4955 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.3561, allocations: 2.548 MB / 0.498 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.3561, allocations: 4 kB / 0.498 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.3563, allocations: 23.83 kB / 0.4981 GB, free: 5.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007397/0.357, allocations: 284.1 kB / 0.4983 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.3572, allocations: 51.81 kB / 0.4984 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.3573, allocations: 103.3 kB / 0.4985 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.497e-05/0.3574, allocations: 4 kB / 0.4985 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.622e-05/0.3575, allocations: 35.86 kB / 0.4985 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.007e-05/0.3576, allocations: 43.78 kB / 0.4986 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.3576, allocations: 4 kB / 0.4986 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006549/0.3582, allocations: 375.4 kB / 0.4989 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.3583, allocations: 11.92 kB / 0.4989 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.3583, allocations: 65.5 kB / 0.499 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.3588, allocations: 309 kB / 0.4993 GB, free: 3.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3588, allocations: 3.938 kB / 0.4993 GB, free: 3.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3588, allocations: 3.938 kB / 0.4993 GB, free: 3.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3588, allocations: 4 kB / 0.4993 GB, free: 3.742 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.0007796/0.3596, allocations: 454.5 kB / 0.4997 GB, free: 3.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3596, allocations: 8.031 kB / 0.4997 GB, free: 3.246 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.3597, allocations: 42.73 kB / 0.4998 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006152/0.3659, allocations: 458 kB / 0.5002 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.366, allocations: 179.5 kB / 0.5004 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.366, allocations: 8 kB / 0.5004 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.693e-05/0.3661, allocations: 11.91 kB / 0.5004 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.3668, allocations: 300.5 kB / 0.5007 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3668, allocations: 4 kB / 0.5007 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.3669, allocations: 4 kB / 0.5007 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3669, allocations: 3.984 kB / 0.5007 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007726/0.3677, allocations: 275.8 kB / 0.501 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.3679, allocations: 246.2 kB / 0.5012 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.3683, allocations: 162.6 kB / 0.5014 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.3685, allocations: 92.19 kB / 0.5014 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3685, allocations: 0 / 0.5014 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3686, allocations: 38.55 kB / 0.5015 GB, free: 1.344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.3686, allocations: 4 kB / 0.5015 GB, free: 1.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.002012/0.3706, allocations: 0.5783 MB / 0.502 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.3706, allocations: 59.39 kB / 0.5021 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.3707, allocations: 101.9 kB / 0.5022 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.3708, allocations: 33.69 kB / 0.5022 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.3708, allocations: 88.58 kB / 0.5023 GB, free: 460 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/0.3709, allocations: 70.86 kB / 0.5024 GB, free: 388 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.3709, allocations: 29.7 kB / 0.5024 GB, free: 352 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.371, allocations: 322.8 kB / 0.5027 GB, free: 20 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.3713, allocations: 100 kB / 0.5028 GB, free: 15.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.3716, allocations: 103.9 kB / 0.5029 GB, free: 15.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005796/0.3722, allocations: 224.6 kB / 0.5031 GB, free: 15.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3722, allocations: 0 / 0.5031 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006727/0.3729, allocations: 284.5 kB / 0.5034 GB, free: 15.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3729, allocations: 12 kB / 0.5034 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3729, allocations: 0 / 0.5034 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.373, allocations: 3.938 kB / 0.5034 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.3734, allocations: 55.89 kB / 0.5035 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3734, allocations: 3.984 kB / 0.5035 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.3737, allocations: 15.98 kB / 0.5035 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.3737, allocations: 12 kB / 0.5035 GB, free: 15.21 MB / 430.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.000106/0.3738, allocations: 129.7 kB / 0.5036 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.3738, allocations: 7.906 kB / 0.5036 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009001/0.3748, allocations: 359.9 kB / 0.504 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3748, allocations: 3.938 kB / 0.504 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3748, allocations: 0 / 0.504 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3748, allocations: 4 kB / 0.504 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.3762, allocations: 0.7209 MB / 0.5047 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3762, allocations: 0 / 0.5047 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.3766, allocations: 64.05 kB / 0.5047 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3766, allocations: 3.984 kB / 0.5048 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.3766, allocations: 12 kB / 0.5048 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3766, allocations: 0 / 0.5048 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3766, allocations: 4 kB / 0.5048 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007295/0.3774, allocations: 415.5 kB / 0.5052 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.3774, allocations: 89 kB / 0.5053 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.3775, allocations: 14.5 kB / 0.5053 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.3778, allocations: 15.98 kB / 0.5053 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.3778, allocations: 19.92 kB / 0.5053 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.3779, allocations: 15.98 kB / 0.5053 GB, free: 13.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.033e-05/0.3779, allocations: 91.56 kB / 0.5054 GB, free: 13.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3779, allocations: 0 / 0.5054 GB, free: 13.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.3782, allocations: 56 kB / 0.5055 GB, free: 13.08 MB / 430.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.00105/0.3793, allocations: 0.97 MB / 0.5064 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006481/0.3799, allocations: 251.7 kB / 0.5066 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.38, allocations: 0 / 0.5066 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.3803, allocations: 140.1 kB / 0.5068 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.3808, allocations: 58.59 kB / 0.5068 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.3839, allocations: 2.137 MB / 0.5089 GB, free: 9.391 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.3841, allocations: 0.7089 MB / 0.5096 GB, free: 8.656 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003675/0.3845, allocations: 53.52 kB / 0.5097 GB, free: 8.605 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.3847, allocations: 63.33 kB / 0.5097 GB, free: 8.543 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3847, allocations: 0 / 0.5097 GB, free: 8.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.3988, allocations: 5.184 MB / 0.5148 GB, free: 3.48 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.399, allocations: 183.8 kB / 0.515 GB, free: 3.223 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.083, allocations: 0 / 0.515 GB, free: 3.223 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches