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.001372/0.001372, allocations: 108.2 kB / 16.92 MB, free: 5.754 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.001586/0.001586, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.34/1.34, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001008, allocations: 46.64 kB / 300.7 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07607/0.0771, allocations: 49.43 MB / 350.1 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.277/0.3541, allocations: 149.2 MB / 499.4 MB, free: 15.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.3566, allocations: 2.517 MB / 0.4901 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.427e-05/0.3567, allocations: 0 / 0.4901 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.3568, allocations: 27.83 kB / 0.4901 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008211/0.3577, allocations: 321.2 kB / 0.4904 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.3579, allocations: 56.5 kB / 0.4905 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.658e-05/0.358, allocations: 87.58 kB / 0.4906 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.214e-05/0.358, allocations: 0 / 0.4906 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.3581, allocations: 38.52 kB / 0.4906 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.253e-05/0.3582, allocations: 27.86 kB / 0.4906 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.3582, allocations: 4 kB / 0.4906 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006864/0.3589, allocations: 355.5 kB / 0.491 GB, free: 12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.3589, allocations: 11.94 kB / 0.491 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.359, allocations: 27.84 kB / 0.491 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000473/0.3595, allocations: 297.1 kB / 0.4913 GB, free: 11.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3595, allocations: 8 kB / 0.4913 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3595, allocations: 0 / 0.4913 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3595, allocations: 0 / 0.4913 GB, free: 11.66 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.0008101/0.3603, allocations: 440 kB / 0.4917 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3604, allocations: 8.031 kB / 0.4917 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.3604, allocations: 38.75 kB / 0.4918 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006585/0.367, allocations: 460.7 kB / 0.4922 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.319e-05/0.3671, allocations: 171.8 kB / 0.4924 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3671, allocations: 7.906 kB / 0.4924 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.372e-05/0.3672, allocations: 8 kB / 0.4924 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007505/0.368, allocations: 292.3 kB / 0.4927 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.368, allocations: 4 kB / 0.4927 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.368, allocations: 11.98 kB / 0.4927 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.368, allocations: 0 / 0.4927 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.3689, allocations: 275.7 kB / 0.493 GB, free: 9.883 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.3698, allocations: 424.8 kB / 0.4934 GB, free: 9.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.3708, allocations: 206.4 kB / 0.4936 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.371, allocations: 68.83 kB / 0.4936 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.3711, allocations: 7.984 kB / 0.4936 GB, free: 9.125 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.3711, allocations: 34.56 kB / 0.4937 GB, free: 9.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.3711, allocations: 7.938 kB / 0.4937 GB, free: 9.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00171/0.3728, allocations: 413.7 kB / 0.4941 GB, free: 8.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.3729, allocations: 56.19 kB / 0.4941 GB, free: 8.598 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.561e-05/0.3729, allocations: 105.8 kB / 0.4942 GB, free: 8.484 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.373, allocations: 25.7 kB / 0.4942 GB, free: 8.453 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.373, allocations: 95.89 kB / 0.4943 GB, free: 8.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.3731, allocations: 67.08 kB / 0.4944 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.3732, allocations: 41.7 kB / 0.4944 GB, free: 8.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.3733, allocations: 322.8 kB / 0.4947 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.3736, allocations: 79.94 kB / 0.4948 GB, free: 7.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.3739, allocations: 119.4 kB / 0.4949 GB, free: 7.711 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/0.3744, allocations: 204.1 kB / 0.4951 GB, free: 7.496 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3744, allocations: 0 / 0.4951 GB, free: 7.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006627/0.3751, allocations: 253.2 kB / 0.4954 GB, free: 7.246 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3751, allocations: 4 kB / 0.4954 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3751, allocations: 4.125 kB / 0.4954 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3751, allocations: 4 kB / 0.4954 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.3755, allocations: 51.89 kB / 0.4954 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.3755, allocations: 4 kB / 0.4954 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.3758, allocations: 11.98 kB / 0.4955 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.3759, allocations: 12 kB / 0.4955 GB, free: 7.156 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.0001037/0.376, allocations: 129.8 kB / 0.4956 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.376, allocations: 10.28 kB / 0.4956 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008155/0.3768, allocations: 270 kB / 0.4959 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3769, allocations: 4 kB / 0.4959 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3769, allocations: 0 / 0.4959 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3769, allocations: 0 / 0.4959 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.3781, allocations: 0.583 MB / 0.4964 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3781, allocations: 3.938 kB / 0.4964 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.3785, allocations: 47.89 kB / 0.4965 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3785, allocations: 4 kB / 0.4965 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.3785, allocations: 12.05 kB / 0.4965 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3785, allocations: 7.938 kB / 0.4965 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3785, allocations: 0 / 0.4965 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.3792, allocations: 333.6 kB / 0.4968 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.3792, allocations: 81.02 kB / 0.4969 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.3793, allocations: 4 kB / 0.4969 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.3796, allocations: 20.92 kB / 0.4969 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.3796, allocations: 11.97 kB / 0.4969 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.3796, allocations: 8 kB / 0.4969 GB, free: 5.535 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.296e-05/0.3797, allocations: 87.28 kB / 0.497 GB, free: 5.449 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3797, allocations: 0 / 0.497 GB, free: 5.449 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.38, allocations: 48.23 kB / 0.4971 GB, free: 5.402 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.0009821/0.381, allocations: 0.884 MB / 0.4979 GB, free: 4.488 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006456/0.3817, allocations: 211.7 kB / 0.4981 GB, free: 4.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3817, allocations: 4 kB / 0.4981 GB, free: 4.277 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.382, allocations: 111.9 kB / 0.4982 GB, free: 4.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.3824, allocations: 31.34 kB / 0.4983 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009428/0.3834, allocations: 324.5 kB / 0.4986 GB, free: 3.781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.3836, allocations: 0.6928 MB / 0.4993 GB, free: 3.062 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004033/0.384, allocations: 59.02 kB / 0.4993 GB, free: 3.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.3842, allocations: 35.42 kB / 0.4993 GB, free: 2.977 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3842, allocations: 0 / 0.4993 GB, free: 2.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.4047, allocations: 4.295 MB / 0.5035 GB, free: 14.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.905/10.31, allocations: 0 / 0.5035 GB, free: 14.75 MB / 430.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