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.0008365/0.0008365, allocations: 94.42 kB / 16.65 MB, free: 6.535 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.0008982/0.0008982, allocations: 175.1 kB / 17.56 MB, free: 6.184 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.174/1.174, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002198/0.0002198, allocations: 10.19 kB / 301.5 MB, free: 6.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07554/0.07577, allocations: 50.41 MB / 351.9 MB, free: 3.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2699/0.3457, allocations: 145.1 MB / 497 MB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.3482, allocations: 2.529 MB / 499.5 MB, free: 1.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.3483, allocations: 4 kB / 499.6 MB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.3484, allocations: 19.89 kB / 499.6 MB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007677/0.3492, allocations: 268.3 kB / 499.8 MB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.3494, allocations: 52.81 kB / 499.9 MB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.827e-05/0.3495, allocations: 79.53 kB / 500 MB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.3495, allocations: 3.938 kB / 500 MB, free: 1.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.262e-05/0.3496, allocations: 35.84 kB / 0.4883 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.3497, allocations: 19.94 kB / 0.4883 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.767e-06/0.3497, allocations: 4 kB / 0.4883 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/0.3503, allocations: 371.4 kB / 0.4887 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.3504, allocations: 7.922 kB / 0.4887 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.3504, allocations: 53.58 kB / 0.4887 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.3509, allocations: 301.1 kB / 0.489 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3509, allocations: 3.938 kB / 0.489 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3509, allocations: 4.688 kB / 0.489 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.3509, allocations: 0 / 0.489 GB, free: 0.6797 MB / 398.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.0007589/0.3517, allocations: 420.1 kB / 0.4894 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3518, allocations: 12.03 kB / 0.4894 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.3518, allocations: 38.75 kB / 0.4895 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006108/0.3579, allocations: 449.2 kB / 0.4899 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.358, allocations: 175.9 kB / 0.4901 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3581, allocations: 7.906 kB / 0.4901 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.07e-05/0.3581, allocations: 19.92 kB / 0.4901 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007746/0.3589, allocations: 301.2 kB / 0.4904 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3589, allocations: 0 / 0.4904 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/0.359, allocations: 4 kB / 0.4904 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.359, allocations: 4 kB / 0.4904 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007688/0.3598, allocations: 271.8 kB / 0.4906 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008759/0.3607, allocations: 428.8 kB / 0.491 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009507/0.3616, allocations: 198.4 kB / 0.4912 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.3618, allocations: 72.75 kB / 0.4913 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3619, allocations: 4 kB / 0.4913 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.3619, allocations: 42.55 kB / 0.4914 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.3619, allocations: 0 / 0.4914 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001665/0.3636, allocations: 419.6 kB / 0.4918 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.3636, allocations: 51.41 kB / 0.4918 GB, free: 13.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.413e-05/0.3637, allocations: 105.8 kB / 0.4919 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.3637, allocations: 25.7 kB / 0.4919 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.3638, allocations: 91.89 kB / 0.492 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.223e-05/0.3638, allocations: 63.11 kB / 0.4921 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.3639, allocations: 25.7 kB / 0.4921 GB, free: 13.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.364, allocations: 322.8 kB / 0.4924 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.3643, allocations: 75.94 kB / 0.4925 GB, free: 12.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.3645, allocations: 115.4 kB / 0.4926 GB, free: 12.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/0.3651, allocations: 206.8 kB / 0.4928 GB, free: 12.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3651, allocations: 0 / 0.4928 GB, free: 12.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006566/0.3658, allocations: 245.4 kB / 0.493 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3658, allocations: 8 kB / 0.493 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3658, allocations: 0 / 0.493 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3658, allocations: 4 kB / 0.493 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.3662, allocations: 55.89 kB / 0.4931 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3662, allocations: 3.984 kB / 0.4931 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.3664, allocations: 11.98 kB / 0.4931 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.3665, allocations: 12 kB / 0.4931 GB, free: 12.22 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.0001099/0.3666, allocations: 125.8 kB / 0.4932 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.3666, allocations: 7.906 kB / 0.4932 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007934/0.3674, allocations: 280.8 kB / 0.4935 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3675, allocations: 4.625 kB / 0.4935 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3675, allocations: 0 / 0.4935 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3675, allocations: 0 / 0.4935 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.3687, allocations: 0.5938 MB / 0.4941 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3687, allocations: 3.562 kB / 0.4941 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.369, allocations: 52.02 kB / 0.4941 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.369, allocations: 0 / 0.4941 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.369, allocations: 7.938 kB / 0.4942 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3691, allocations: 0 / 0.4942 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/0.3691, allocations: 11.92 kB / 0.4942 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.3697, allocations: 329.6 kB / 0.4945 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.3698, allocations: 85.02 kB / 0.4946 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.3698, allocations: 4 kB / 0.4946 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.3701, allocations: 11.98 kB / 0.4946 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.3701, allocations: 19.92 kB / 0.4946 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3701, allocations: 15.98 kB / 0.4946 GB, free: 10.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.802e-05/0.3702, allocations: 79.28 kB / 0.4947 GB, free: 10.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3702, allocations: 0 / 0.4947 GB, free: 10.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.3705, allocations: 44 kB / 0.4947 GB, free: 10.46 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.000962/0.3715, allocations: 0.8857 MB / 0.4956 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005877/0.3721, allocations: 205.8 kB / 0.4958 GB, free: 9.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3721, allocations: 0 / 0.4958 GB, free: 9.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.3723, allocations: 103.6 kB / 0.4959 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.3728, allocations: 35.91 kB / 0.4959 GB, free: 9.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/0.3737, allocations: 370.2 kB / 0.4963 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.3739, allocations: 0.6931 MB / 0.4969 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003671/0.3743, allocations: 52.75 kB / 0.497 GB, free: 8.035 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.3744, allocations: 39.41 kB / 0.497 GB, free: 8 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3744, allocations: 0 / 0.497 GB, free: 8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.3875, allocations: 4.006 MB / 0.5009 GB, free: 4.125 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.3877, allocations: 175.7 kB / 0.5011 GB, free: 3.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/1.997, allocations: 0 / 0.5011 GB, free: 3.875 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