Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_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.001273/0.001273, allocations: 113.2 kB / 17.73 MB, free: 5.301 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.001907/0.001907, allocations: 188.2 kB / 18.66 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00188/0.001881, allocations: 56.39 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08384/0.08573, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3202/0.4059, allocations: 150.4 MB / 0.5128 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.4078, allocations: 1.518 MB / 0.5142 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.4079, allocations: 7.938 kB / 0.5143 GB, free: 7.539 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.4081, allocations: 31.83 kB / 0.5143 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009005/0.409, allocations: 306.4 kB / 0.5146 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.4092, allocations: 59.69 kB / 0.5146 GB, free: 7.148 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.4094, allocations: 83.59 kB / 0.5147 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.4094, allocations: 3.984 kB / 0.5147 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.4095, allocations: 31.86 kB / 0.5148 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.002e-05/0.4096, allocations: 27.86 kB / 0.5148 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.4096, allocations: 4 kB / 0.5148 GB, free: 7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007503/0.4104, allocations: 363.5 kB / 0.5151 GB, free: 6.645 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.4104, allocations: 11.98 kB / 0.5151 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.4105, allocations: 27.86 kB / 0.5152 GB, free: 6.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.411, allocations: 297.6 kB / 0.5154 GB, free: 6.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.411, allocations: 0 / 0.5154 GB, free: 6.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.411, allocations: 4 kB / 0.5155 GB, free: 6.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.411, allocations: 0 / 0.5155 GB, free: 6.316 MB / 446.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.0008798/0.4119, allocations: 442.8 kB / 0.5159 GB, free: 5.836 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.412, allocations: 8.031 kB / 0.5159 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.412, allocations: 42.69 kB / 0.5159 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005931/0.4179, allocations: 460.7 kB / 0.5164 GB, free: 5.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.4181, allocations: 168.3 kB / 0.5165 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.4181, allocations: 7.938 kB / 0.5165 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.4182, allocations: 8 kB / 0.5165 GB, free: 5.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007844/0.419, allocations: 297.2 kB / 0.5168 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4191, allocations: 4 kB / 0.5168 GB, free: 4.809 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.4191, allocations: 4 kB / 0.5168 GB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4191, allocations: 0 / 0.5168 GB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008256/0.4199, allocations: 271.8 kB / 0.5171 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009668/0.4209, allocations: 429.4 kB / 0.5175 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.4219, allocations: 206.3 kB / 0.5177 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.4222, allocations: 73.06 kB / 0.5178 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.4222, allocations: 4 kB / 0.5178 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.4222, allocations: 38.55 kB / 0.5178 GB, free: 3.734 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.4222, allocations: 4 kB / 0.5178 GB, free: 3.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001759/0.424, allocations: 425.5 kB / 0.5182 GB, free: 3.312 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4241, allocations: 51.41 kB / 0.5183 GB, free: 3.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.4242, allocations: 105.8 kB / 0.5184 GB, free: 3.137 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.4242, allocations: 25.7 kB / 0.5184 GB, free: 3.105 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.4243, allocations: 100.5 kB / 0.5185 GB, free: 3.004 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.4243, allocations: 59.48 kB / 0.5185 GB, free: 2.945 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.4244, allocations: 41.69 kB / 0.5186 GB, free: 2.898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4246, allocations: 322.8 kB / 0.5189 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.4249, allocations: 79.94 kB / 0.519 GB, free: 2.496 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.4252, allocations: 116.2 kB / 0.5191 GB, free: 2.367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005832/0.4258, allocations: 208.2 kB / 0.5193 GB, free: 2.148 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4258, allocations: 3.938 kB / 0.5193 GB, free: 2.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000693/0.4265, allocations: 233.5 kB / 0.5195 GB, free: 1.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4265, allocations: 7.984 kB / 0.5195 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4265, allocations: 8.125 kB / 0.5195 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4266, allocations: 0 / 0.5195 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.4269, allocations: 55.89 kB / 0.5196 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.427, allocations: 4.875 kB / 0.5196 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.4272, allocations: 15.98 kB / 0.5196 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.4273, allocations: 12 kB / 0.5196 GB, free: 1.809 MB / 446.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.0001248/0.4274, allocations: 121.7 kB / 0.5197 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.4275, allocations: 11.95 kB / 0.5197 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008422/0.4283, allocations: 277.3 kB / 0.52 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4283, allocations: 192 / 0.52 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4283, allocations: 0 / 0.52 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4283, allocations: 3.984 kB / 0.52 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.4296, allocations: 0.5826 MB / 0.5206 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4297, allocations: 0 / 0.5206 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.43, allocations: 47.95 kB / 0.5206 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.43, allocations: 4 kB / 0.5206 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.4301, allocations: 8.047 kB / 0.5206 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4301, allocations: 7.938 kB / 0.5206 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.4301, allocations: 3.938 kB / 0.5206 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007119/0.4308, allocations: 338.5 kB / 0.521 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.4309, allocations: 85.06 kB / 0.521 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.4309, allocations: 0 / 0.521 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.4312, allocations: 15.98 kB / 0.5211 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.4312, allocations: 11.92 kB / 0.5211 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.4313, allocations: 15.98 kB / 0.5211 GB, free: 184 kB / 446.1 MB Notification: Performance of sorting global known variables: time 4.857e-05/0.4313, allocations: 79.28 kB / 0.5212 GB, free: 104 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.094e-06/0.4313, allocations: 4 kB / 0.5212 GB, free: 100 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003476/0.4317, allocations: 47.88 kB / 0.5212 GB, free: 52 kB / 446.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.001148/0.4328, allocations: 0.8824 MB / 0.5221 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006576/0.4335, allocations: 199.7 kB / 0.5223 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4335, allocations: 0 / 0.5223 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.4338, allocations: 96.81 kB / 0.5224 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.4343, allocations: 43.75 kB / 0.5224 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009766/0.4353, allocations: 328.3 kB / 0.5227 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.4356, allocations: 0.6889 MB / 0.5234 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002784/0.4359, allocations: 58.44 kB / 0.5234 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.436, allocations: 43.41 kB / 0.5235 GB, free: 13.63 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.436, allocations: 3.938 kB / 0.5235 GB, free: 13.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.4612, allocations: 4.337 MB / 0.5277 GB, free: 9.238 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/7.94, allocations: 7.938 kB / 0.5277 GB, free: 9.23 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches