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.001333/0.001333, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 61.19 kB / 306.3 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09557, allocations: 50.54 MB / 356.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2787/0.3743, allocations: 150 MB / 0.495 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.3769, allocations: 2.589 MB / 0.4975 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.377, allocations: 0 / 0.4975 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.3771, allocations: 19.89 kB / 0.4975 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007699/0.3779, allocations: 293.4 kB / 0.4978 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.3781, allocations: 47.81 kB / 0.4978 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.3782, allocations: 99.36 kB / 0.4979 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.3783, allocations: 8 kB / 0.498 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.3784, allocations: 39.84 kB / 0.498 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.3785, allocations: 35.84 kB / 0.498 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.3785, allocations: 7.938 kB / 0.498 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007054/0.3792, allocations: 375.5 kB / 0.4984 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.3792, allocations: 11.91 kB / 0.4984 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.3793, allocations: 39.81 kB / 0.4984 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.3798, allocations: 324.9 kB / 0.4987 GB, free: 1.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3798, allocations: 0 / 0.4987 GB, free: 1.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3798, allocations: 5.969 kB / 0.4988 GB, free: 1.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.3798, allocations: 0 / 0.4988 GB, free: 1.828 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.0008474/0.3806, allocations: 456 kB / 0.4992 GB, free: 1.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3807, allocations: 8.031 kB / 0.4992 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.3807, allocations: 38.75 kB / 0.4992 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006014/0.3868, allocations: 461.1 kB / 0.4997 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.3869, allocations: 183.3 kB / 0.4998 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3869, allocations: 8 kB / 0.4999 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/0.387, allocations: 8 kB / 0.4999 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.3877, allocations: 289.3 kB / 0.5001 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3877, allocations: 4 kB / 0.5001 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.3878, allocations: 8 kB / 0.5002 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3878, allocations: 0 / 0.5002 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007736/0.3886, allocations: 279.7 kB / 0.5004 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.3889, allocations: 246.2 kB / 0.5007 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.3893, allocations: 166.8 kB / 0.5008 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.3895, allocations: 88.81 kB / 0.5009 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.3895, allocations: 0 / 0.5009 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.3895, allocations: 42.5 kB / 0.5009 GB, free: 15.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.052e-06/0.3895, allocations: 0 / 0.5009 GB, free: 15.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002047/0.3916, allocations: 0.5771 MB / 0.5015 GB, free: 14.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.3916, allocations: 59.34 kB / 0.5016 GB, free: 14.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.3917, allocations: 108.8 kB / 0.5017 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.3917, allocations: 29.7 kB / 0.5017 GB, free: 14.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.3918, allocations: 88.58 kB / 0.5018 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.82e-05/0.3919, allocations: 82.73 kB / 0.5019 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.67e-05/0.392, allocations: 53.69 kB / 0.5019 GB, free: 14.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.3921, allocations: 322.8 kB / 0.5022 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.3924, allocations: 95.94 kB / 0.5023 GB, free: 13.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.3926, allocations: 99.94 kB / 0.5024 GB, free: 13.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/0.3932, allocations: 224.6 kB / 0.5026 GB, free: 13.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3932, allocations: 0 / 0.5026 GB, free: 13.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006716/0.3939, allocations: 292.5 kB / 0.5029 GB, free: 13.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3939, allocations: 4 kB / 0.5029 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.394, allocations: 0 / 0.5029 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.394, allocations: 7.938 kB / 0.5029 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.3944, allocations: 55.89 kB / 0.503 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.3944, allocations: 0 / 0.503 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.3947, allocations: 11.98 kB / 0.503 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.3947, allocations: 19.97 kB / 0.503 GB, free: 13.27 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.0001005/0.3948, allocations: 125.8 kB / 0.5031 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.3949, allocations: 7.906 kB / 0.5031 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009098/0.3958, allocations: 355.9 kB / 0.5035 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3958, allocations: 7.938 kB / 0.5035 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.3958, allocations: 0.875 kB / 0.5035 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3958, allocations: 3.938 kB / 0.5035 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.3972, allocations: 0.7271 MB / 0.5042 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3973, allocations: 0 / 0.5042 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.3977, allocations: 59.95 kB / 0.5042 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.3977, allocations: 0 / 0.5042 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.3977, allocations: 13.67 kB / 0.5042 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.3977, allocations: 7.938 kB / 0.5043 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3977, allocations: 0 / 0.5043 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007258/0.3985, allocations: 411.8 kB / 0.5046 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.3985, allocations: 89.02 kB / 0.5047 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.3986, allocations: 4 kB / 0.5047 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.3989, allocations: 23.91 kB / 0.5048 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.3989, allocations: 23.91 kB / 0.5048 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.399, allocations: 15.98 kB / 0.5048 GB, free: 11.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.946e-05/0.399, allocations: 83.28 kB / 0.5049 GB, free: 11.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.399, allocations: 0 / 0.5049 GB, free: 11.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003353/0.3994, allocations: 64 kB / 0.5049 GB, free: 11.14 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.001105/0.4005, allocations: 0.97 MB / 0.5059 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006653/0.4012, allocations: 255.5 kB / 0.5061 GB, free: 9.879 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4012, allocations: 0 / 0.5061 GB, free: 9.879 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.4015, allocations: 139.9 kB / 0.5063 GB, free: 9.742 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.402, allocations: 47.95 kB / 0.5063 GB, free: 9.695 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.4052, allocations: 2.127 MB / 0.5084 GB, free: 7.465 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.4055, allocations: 0.705 MB / 0.5091 GB, free: 6.734 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004014/0.4059, allocations: 57.88 kB / 0.5091 GB, free: 6.684 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.4062, allocations: 55.41 kB / 0.5092 GB, free: 6.629 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4062, allocations: 0 / 0.5092 GB, free: 6.629 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.4213, allocations: 5.268 MB / 0.5143 GB, free: 1.457 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.4215, allocations: 191.9 kB / 0.5145 GB, free: 1.195 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.166, allocations: 0 / 0.5145 GB, free: 1.195 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