Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",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.001155/0.001155, allocations: 113.2 kB / 16.62 MB, free: 6.805 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.001112/0.001112, allocations: 189.8 kB / 17.55 MB, free: 5.93 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.232/1.232, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 43.56 kB / 300.2 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07925/0.08034, allocations: 49.45 MB / 349.7 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1773/0.2576, allocations: 65.32 MB / 415 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005872/0.2635, allocations: 5.433 MB / 420.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.2638, allocations: 6.906 kB / 420.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007895/0.2646, allocations: 321.3 kB / 420.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007576/0.2654, allocations: 491.2 kB / 421.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01483/0.2802, allocations: 6.731 MB / 428 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.2816, allocations: 1.551 MB / 429.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.2819, allocations: 212.7 kB / 429.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006392/0.2826, allocations: 0.6268 MB / 430.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005825/0.2832, allocations: 0.5996 MB / 431 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.2833, allocations: 84 kB / 431 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01327/0.2965, allocations: 10.17 MB / 441.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.2969, allocations: 327.2 kB / 441.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.2973, allocations: 434.5 kB / 441.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007242/0.3045, allocations: 6.081 MB / 448 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3045, allocations: 0 / 448 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3045, allocations: 4 kB / 448 MB, free: 1.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.3045, allocations: 0 / 448 MB, free: 1.969 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002686/0.3072, allocations: 1.561 MB / 449.6 MB, free: 368 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3073, allocations: 8.031 kB / 449.6 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.3074, allocations: 110.5 kB / 449.7 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/0.3078, allocations: 83.23 kB / 449.8 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.3083, allocations: 436.8 kB / 450.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.3083, allocations: 45.31 kB / 450.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.172e-05/0.3084, allocations: 60 kB / 450.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.31, allocations: 0.8069 MB / 451.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.3101, allocations: 7.891 kB / 451.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/0.3101, allocations: 32 kB / 451.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3101, allocations: 16 kB / 451.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.3118, allocations: 1.02 MB / 452.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01522/0.327, allocations: 12.78 MB / 465 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.3286, allocations: 0.7337 MB / 465.7 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00053/0.3292, allocations: 412.1 kB / 466.1 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01359/0.3428, allocations: 12.25 MB / 478.4 MB, free: 15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.3428, allocations: 47.16 kB / 478.4 MB, free: 14.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.334e-06/0.3428, allocations: 0 / 478.4 MB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.008725/0.3515, allocations: 3.376 MB / 481.8 MB, free: 11.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.3516, allocations: 60.41 kB / 481.8 MB, free: 11.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.352, allocations: 356.5 kB / 482.2 MB, free: 11.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.03e-05/0.352, allocations: 45.7 kB / 482.2 MB, free: 11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3522, allocations: 244.6 kB / 482.5 MB, free: 10.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.3524, allocations: 299.6 kB / 482.8 MB, free: 10.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.3526, allocations: 162.5 kB / 482.9 MB, free: 10.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3528, allocations: 374.8 kB / 483.3 MB, free: 9.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/0.3533, allocations: 365.8 kB / 483.7 MB, free: 9.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008459/0.3542, allocations: 496.1 kB / 484.1 MB, free: 9.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.3558, allocations: 0.9021 MB / 485 MB, free: 8.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3558, allocations: 0 / 485 MB, free: 8.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002378/0.3582, allocations: 1.117 MB / 486.2 MB, free: 6.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3582, allocations: 7.938 kB / 486.2 MB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3582, allocations: 4.281 kB / 486.2 MB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007284/0.359, allocations: 167.3 kB / 486.3 MB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/0.3597, allocations: 195.7 kB / 486.5 MB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.3623, allocations: 4.116 MB / 490.6 MB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.3628, allocations: 71.89 kB / 490.7 MB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.131e-05/0.3629, allocations: 43.98 kB / 490.8 MB, free: 2.035 MB / 398.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0002842/0.3632, allocations: 221.6 kB / 491 MB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/0.3636, allocations: 63.34 kB / 491 MB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.3658, allocations: 1.277 MB / 492.3 MB, free: 444 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.3658, allocations: 8 kB / 492.3 MB, free: 436 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3658, allocations: 4 kB / 492.3 MB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001686/0.3675, allocations: 1.324 MB / 493.6 MB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.3704, allocations: 1.975 MB / 495.6 MB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3704, allocations: 64 / 495.6 MB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/0.3711, allocations: 159.8 kB / 495.8 MB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001621/0.3727, allocations: 293.2 kB / 496.1 MB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/0.3728, allocations: 27.98 kB / 496.1 MB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007063/0.3735, allocations: 1.289 MB / 497.4 MB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3735, allocations: 4.031 kB / 497.4 MB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.3759, allocations: 1.421 MB / 498.8 MB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.376, allocations: 124.6 kB / 498.9 MB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.3761, allocations: 23.98 kB / 498.9 MB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005581/0.3767, allocations: 59.8 kB / 499 MB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.3768, allocations: 52.92 kB / 499.1 MB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.891e-05/0.3769, allocations: 44.09 kB / 499.1 MB, free: 9.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000286/0.3772, allocations: 279 kB / 499.4 MB, free: 9.078 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3772, allocations: 0 / 499.4 MB, free: 9.078 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003173/0.3803, allocations: 1.402 MB / 0.489 GB, free: 7.676 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00784/0.3882, allocations: 3.592 MB / 0.4925 GB, free: 4.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002303/0.3905, allocations: 1.265 MB / 0.4938 GB, free: 2.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3905, allocations: 4.5 kB / 0.4938 GB, free: 2.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008012/0.3913, allocations: 495.2 kB / 0.4943 GB, free: 2.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.393, allocations: 400 kB / 0.4946 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.4036, allocations: 7.401 MB / 0.5019 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.4041, allocations: 0.9167 MB / 0.5028 GB, free: 9.359 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006902/0.4048, allocations: 209.1 kB / 0.503 GB, free: 9.152 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.4051, allocations: 231.3 kB / 0.5032 GB, free: 8.926 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4051, allocations: 0 / 0.5032 GB, free: 8.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.358/5.763, allocations: 56.46 MB / 0.5583 GB, free: 136.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/5.763, allocations: 271.4 kB / 0.5586 GB, free: 135.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.814/9.578, allocations: 3.844 kB / 0.5586 GB, free: 135.9 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches