Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.001341/0.001341, allocations: 113.2 kB / 17.73 MB, free: 5.336 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.001267/0.001267, allocations: 188.2 kB / 18.67 MB, free: 4.402 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.274/1.274, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001351/0.001351, allocations: 56.14 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08151/0.08287, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2175/0.3004, allocations: 50.7 MB / 425.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006105/0.3066, allocations: 5.209 MB / 430.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.3068, allocations: 2.531 kB / 430.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007491/0.3076, allocations: 248.2 kB / 430.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00059/0.3082, allocations: 368.1 kB / 431.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01873/0.327, allocations: 6.782 MB / 437.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.3282, allocations: 1.096 MB / 439 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.3285, allocations: 149.5 kB / 439.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006262/0.3348, allocations: 3.601 MB / 442.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.3353, allocations: 398.6 kB / 443.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.803e-05/0.3354, allocations: 60 kB / 443.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01703/0.3524, allocations: 9.815 MB / 453.1 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.3528, allocations: 227.4 kB / 453.3 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004289/0.3532, allocations: 306.9 kB / 453.6 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.3664, allocations: 5.491 MB / 459.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3665, allocations: 0 / 459.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3665, allocations: 4 kB / 459.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.3665, allocations: 0 / 459.1 MB, free: 11.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003069/0.3696, allocations: 1.391 MB / 460.5 MB, free: 9.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3696, allocations: 8.031 kB / 460.5 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.3697, allocations: 90.5 kB / 460.6 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.3701, allocations: 67.7 kB / 460.6 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.3706, allocations: 369.9 kB / 461 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.3706, allocations: 33 kB / 461 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.491e-05/0.3707, allocations: 43.95 kB / 461.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.372, allocations: 0.5882 MB / 461.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.372, allocations: 0 / 461.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.372, allocations: 24 kB / 461.7 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.3721, allocations: 12 kB / 461.7 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.3733, allocations: 0.7417 MB / 462.4 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.3888, allocations: 11.96 MB / 474.4 MB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.3901, allocations: 0.5313 MB / 474.9 MB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.3905, allocations: 258 kB / 475.2 MB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01433/0.4048, allocations: 11.89 MB / 487.1 MB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.4049, allocations: 43.81 kB / 487.1 MB, free: 10.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.635e-06/0.4049, allocations: 0 / 487.1 MB, free: 10.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.005849/0.4108, allocations: 2.133 MB / 489.2 MB, free: 8.637 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.4108, allocations: 55.97 kB / 489.3 MB, free: 8.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.4112, allocations: 311 kB / 489.6 MB, free: 8.254 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.102e-05/0.4113, allocations: 37.7 kB / 489.6 MB, free: 8.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.4114, allocations: 212.7 kB / 489.8 MB, free: 8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.4116, allocations: 194.3 kB / 490 MB, free: 7.809 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.4118, allocations: 122.2 kB / 490.2 MB, free: 7.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4119, allocations: 346.7 kB / 490.5 MB, free: 7.336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.4123, allocations: 237 kB / 490.7 MB, free: 7.102 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/0.413, allocations: 351.3 kB / 491.1 MB, free: 6.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.4141, allocations: 0.5917 MB / 491.7 MB, free: 6.105 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4142, allocations: 0 / 491.7 MB, free: 6.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001844/0.416, allocations: 0.7561 MB / 492.4 MB, free: 5.332 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.416, allocations: 7.938 kB / 492.4 MB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4161, allocations: 5.125 kB / 492.4 MB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004943/0.4166, allocations: 98.52 kB / 492.5 MB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.4171, allocations: 127.8 kB / 492.6 MB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.4198, allocations: 3.481 MB / 496.1 MB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.4202, allocations: 15.98 kB / 496.1 MB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/0.4202, allocations: 28 kB / 496.2 MB, free: 1.262 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003014/0.4206, allocations: 197.6 kB / 496.4 MB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.4209, allocations: 47.77 kB / 496.4 MB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.4225, allocations: 0.8192 MB / 497.2 MB, free: 164 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.4225, allocations: 7.938 kB / 497.2 MB, free: 156 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.4225, allocations: 0 / 497.2 MB, free: 156 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/0.4236, allocations: 0.7635 MB / 498 MB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.4258, allocations: 1.297 MB / 499.3 MB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4258, allocations: 4.062 kB / 499.3 MB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.4263, allocations: 103.8 kB / 499.4 MB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008867/0.4272, allocations: 148.6 kB / 499.5 MB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.4272, allocations: 16 kB / 499.6 MB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004202/0.4276, allocations: 0.6406 MB / 0.4885 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4276, allocations: 4.031 kB / 0.4885 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.4293, allocations: 0.9173 MB / 0.4894 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.4294, allocations: 116.9 kB / 0.4895 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.501e-05/0.4295, allocations: 12 kB / 0.4895 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.43, allocations: 19.98 kB / 0.4895 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.43, allocations: 32.39 kB / 0.4896 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.4301, allocations: 27.98 kB / 0.4896 GB, free: 11.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00028/0.4304, allocations: 265.8 kB / 0.4898 GB, free: 11.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4304, allocations: 0 / 0.4898 GB, free: 11.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003896/0.4343, allocations: 1.321 MB / 0.4911 GB, free: 10.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008224/0.4425, allocations: 3.062 MB / 0.4941 GB, free: 7.168 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.4442, allocations: 0.8155 MB / 0.4949 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4442, allocations: 0 / 0.4949 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005685/0.4448, allocations: 295.1 kB / 0.4952 GB, free: 6.031 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.4462, allocations: 272.9 kB / 0.4955 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009103/0.4553, allocations: 5.316 MB / 0.5006 GB, free: 280 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.4558, allocations: 0.8326 MB / 0.5015 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000498/0.4563, allocations: 148.3 kB / 0.5016 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.4566, allocations: 155.4 kB / 0.5017 GB, free: 15.11 MB / 446.1 MB Notification: Performance of SimCode: time 3.006e-06/0.4566, allocations: 0 / 0.5017 GB, free: 15.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2518/0.7085, allocations: 51.8 MB / 0.5523 GB, free: 158.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.46, allocations: 14.02 kB / 0.5523 GB, free: 158.6 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches