Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_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.001491/0.001491, allocations: 110.6 kB / 17.73 MB, free: 5.32 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.001145/0.001145, allocations: 194.9 kB / 18.67 MB, free: 4.387 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.323/1.323, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001584/0.001584, allocations: 55.92 kB / 328 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08708/0.08867, allocations: 46.62 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2368/0.3255, allocations: 65.73 MB / 440.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007361/0.3329, allocations: 5.46 MB / 445.9 MB, free: 8.609 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005089/0.3335, allocations: 15.94 kB / 445.9 MB, free: 8.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.3347, allocations: 350 kB / 446.2 MB, free: 8.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.3358, allocations: 0.505 MB / 446.7 MB, free: 7.742 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02225/0.358, allocations: 7.07 MB / 453.8 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002192/0.3602, allocations: 1.552 MB / 455.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.3606, allocations: 212.8 kB / 455.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.3617, allocations: 0.623 MB / 456.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008011/0.3625, allocations: 0.5723 MB / 456.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.3626, allocations: 80 kB / 456.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01978/0.3824, allocations: 10.11 MB / 466.9 MB, free: 3.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000491/0.3829, allocations: 315.2 kB / 467.2 MB, free: 3.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006645/0.3836, allocations: 438.4 kB / 467.7 MB, free: 2.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01453/0.3982, allocations: 5.935 MB / 473.6 MB, free: 12.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3982, allocations: 4 kB / 473.6 MB, free: 12.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3982, allocations: 4 kB / 473.6 MB, free: 12.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.3982, allocations: 0 / 473.6 MB, free: 12.79 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00377/0.402, allocations: 1.593 MB / 475.2 MB, free: 11.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4021, allocations: 16.03 kB / 475.2 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.4022, allocations: 106.5 kB / 475.3 MB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004139/0.4026, allocations: 87.56 kB / 475.4 MB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006427/0.4033, allocations: 445 kB / 475.8 MB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.4033, allocations: 50.19 kB / 475.9 MB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.4034, allocations: 63.98 kB / 476 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.4052, allocations: 0.8069 MB / 476.8 MB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.4053, allocations: 4 kB / 476.8 MB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.4054, allocations: 28 kB / 476.8 MB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.4054, allocations: 12 kB / 476.8 MB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.4073, allocations: 1.032 MB / 477.8 MB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01757/0.4249, allocations: 12.78 MB / 490.6 MB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.4267, allocations: 0.7449 MB / 491.4 MB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005943/0.4273, allocations: 406.6 kB / 491.8 MB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01576/0.4431, allocations: 12.25 MB / 0.4922 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.223e-05/0.4432, allocations: 46.03 kB / 0.4922 GB, free: 9.688 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.805e-06/0.4432, allocations: 0 / 0.4922 GB, free: 9.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.009786/0.453, allocations: 3.4 MB / 0.4956 GB, free: 6.207 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.4531, allocations: 60.41 kB / 0.4956 GB, free: 6.133 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.4536, allocations: 360.4 kB / 0.496 GB, free: 5.773 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.355e-05/0.4537, allocations: 49.7 kB / 0.496 GB, free: 5.719 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.4538, allocations: 233.3 kB / 0.4962 GB, free: 5.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.4541, allocations: 329.1 kB / 0.4965 GB, free: 5.164 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.4544, allocations: 158.6 kB / 0.4967 GB, free: 5.004 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.4545, allocations: 370.8 kB / 0.497 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006711/0.4552, allocations: 365.8 kB / 0.4974 GB, free: 4.273 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009426/0.4562, allocations: 496.2 kB / 0.4979 GB, free: 3.758 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.4579, allocations: 0.8982 MB / 0.4987 GB, free: 2.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.458, allocations: 4 kB / 0.4988 GB, free: 2.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002624/0.4606, allocations: 1.121 MB / 0.4998 GB, free: 1.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.4606, allocations: 8.281 kB / 0.4999 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4607, allocations: 4 kB / 0.4999 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008021/0.4615, allocations: 163.3 kB / 0.5 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/0.4622, allocations: 187.8 kB / 0.5002 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/0.4655, allocations: 4.124 MB / 0.5042 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.466, allocations: 23.98 kB / 0.5042 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.4661, allocations: 43.98 kB / 0.5043 GB, free: 12.8 MB / 446.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.0003919/0.4665, allocations: 233.6 kB / 0.5045 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/0.4669, allocations: 63.67 kB / 0.5046 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.4694, allocations: 1.281 MB / 0.5058 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.4694, allocations: 8 kB / 0.5058 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4694, allocations: 0 / 0.5058 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001947/0.4714, allocations: 1.328 MB / 0.5071 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/0.4749, allocations: 1.968 MB / 0.509 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4749, allocations: 0 / 0.509 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000707/0.4756, allocations: 159.8 kB / 0.5092 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001738/0.4774, allocations: 301.3 kB / 0.5095 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.253e-05/0.4775, allocations: 31.98 kB / 0.5095 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009007/0.4784, allocations: 1.285 MB / 0.5108 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.4784, allocations: 7.969 kB / 0.5108 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/0.4812, allocations: 1.414 MB / 0.5122 GB, free: 4.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.4814, allocations: 128.8 kB / 0.5123 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.4815, allocations: 20 kB / 0.5123 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/0.4821, allocations: 36.06 kB / 0.5123 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4822, allocations: 52.88 kB / 0.5124 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.4823, allocations: 47.95 kB / 0.5124 GB, free: 4.113 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003467/0.4827, allocations: 279 kB / 0.5127 GB, free: 3.844 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4827, allocations: 0 / 0.5127 GB, free: 3.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003825/0.4865, allocations: 1.411 MB / 0.5141 GB, free: 2.43 MB / 446.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.009684/0.4962, allocations: 3.604 MB / 0.5176 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002531/0.4988, allocations: 1.171 MB / 0.5187 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.4988, allocations: 4 kB / 0.5187 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.4998, allocations: 495.9 kB / 0.5192 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.502, allocations: 396.7 kB / 0.5196 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.5154, allocations: 7.073 MB / 0.5265 GB, free: 5.441 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.5161, allocations: 0.9204 MB / 0.5274 GB, free: 4.492 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007999/0.5169, allocations: 205.2 kB / 0.5276 GB, free: 4.289 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/0.5173, allocations: 231.3 kB / 0.5278 GB, free: 4.062 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5173, allocations: 0 / 0.5278 GB, free: 4.062 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2696/0.7869, allocations: 58.23 MB / 0.5847 GB, free: 136 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.35, allocations: 23.61 kB / 0.5847 GB, free: 136 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches