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.001592/0.001593, allocations: 110.6 kB / 17.73 MB, free: 5.34 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.001565/0.001565, allocations: 194.9 kB / 18.67 MB, free: 4.406 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.294/1.294, 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.002244/0.002244, allocations: 56.25 kB / 328 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08805/0.09031, allocations: 46.62 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2108/0.3012, allocations: 50.69 MB / 425.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006454/0.3077, allocations: 5.195 MB / 430.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.3079, allocations: 9.062 kB / 430.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007157/0.3087, allocations: 247.6 kB / 430.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006048/0.3093, allocations: 372 kB / 431.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01853/0.3278, allocations: 6.746 MB / 437.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.3293, allocations: 1.096 MB / 439 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.3295, allocations: 150.2 kB / 439.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00654/0.3361, allocations: 3.59 MB / 442.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005242/0.3366, allocations: 398.6 kB / 443.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.403e-05/0.3367, allocations: 60 kB / 443.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01892/0.3557, allocations: 9.82 MB / 453 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00033/0.356, allocations: 223.5 kB / 453.2 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004758/0.3565, allocations: 302.9 kB / 453.5 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.3693, allocations: 5.499 MB / 459 MB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3694, allocations: 0 / 459 MB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3694, allocations: 0 / 459 MB, free: 11.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.3694, allocations: 0 / 459 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.003544/0.3729, allocations: 1.391 MB / 460.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.373, allocations: 8.031 kB / 460.4 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.3731, allocations: 82.53 kB / 460.5 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003398/0.3735, allocations: 64.77 kB / 460.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.374, allocations: 373.9 kB / 460.9 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.374, allocations: 33 kB / 461 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.133e-05/0.3741, allocations: 47.94 kB / 461 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.3755, allocations: 0.5843 MB / 461.6 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.3755, allocations: 0 / 461.6 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.3755, allocations: 16 kB / 461.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.3756, allocations: 12 kB / 461.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.3769, allocations: 0.7495 MB / 462.4 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01717/0.3941, allocations: 11.98 MB / 474.3 MB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.3954, allocations: 0.5274 MB / 474.9 MB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.3958, allocations: 262 kB / 475.1 MB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01561/0.4114, allocations: 11.88 MB / 487 MB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.4115, allocations: 44.88 kB / 487.1 MB, free: 10.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.214e-06/0.4115, allocations: 3.938 kB / 487.1 MB, free: 10.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.005739/0.4173, allocations: 2.127 MB / 489.2 MB, free: 8.652 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.4173, allocations: 55.97 kB / 489.2 MB, free: 8.586 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.4177, allocations: 315 kB / 489.6 MB, free: 8.266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.4178, allocations: 37.7 kB / 489.6 MB, free: 8.223 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.4179, allocations: 204.7 kB / 489.8 MB, free: 8.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.4181, allocations: 202.3 kB / 490 MB, free: 7.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.4183, allocations: 122.2 kB / 490.1 MB, free: 7.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4185, allocations: 346.8 kB / 490.4 MB, free: 7.348 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.4189, allocations: 241 kB / 490.7 MB, free: 7.109 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006529/0.4196, allocations: 343.3 kB / 491 MB, free: 6.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.4208, allocations: 0.5995 MB / 491.6 MB, free: 6.113 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4208, allocations: 0 / 491.6 MB, free: 6.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001853/0.4226, allocations: 0.752 MB / 492.4 MB, free: 5.344 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4227, allocations: 8.219 kB / 492.4 MB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4227, allocations: 8 kB / 492.4 MB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/0.4231, allocations: 102.5 kB / 492.5 MB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.4236, allocations: 123.9 kB / 492.6 MB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.4265, allocations: 3.481 MB / 496.1 MB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.4269, allocations: 12 kB / 496.1 MB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.73e-05/0.4269, allocations: 32.86 kB / 496.1 MB, free: 1.27 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.0002892/0.4272, allocations: 193.6 kB / 496.3 MB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/0.4275, allocations: 47.77 kB / 496.4 MB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.4291, allocations: 0.8115 MB / 497.2 MB, free: 184 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.4291, allocations: 4 kB / 497.2 MB, free: 180 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.4291, allocations: 0 / 497.2 MB, free: 180 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/0.4303, allocations: 0.7673 MB / 497.9 MB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.4324, allocations: 1.297 MB / 499.2 MB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.4324, allocations: 4 kB / 499.2 MB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/0.4329, allocations: 107.9 kB / 499.4 MB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009274/0.4338, allocations: 148.6 kB / 499.5 MB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.4338, allocations: 20 kB / 499.5 MB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004442/0.4343, allocations: 0.6445 MB / 0.4884 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4343, allocations: 4.031 kB / 0.4884 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.436, allocations: 0.9134 MB / 0.4893 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.4361, allocations: 116.9 kB / 0.4894 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.871e-05/0.4362, allocations: 12 kB / 0.4895 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.4365, allocations: 24.06 kB / 0.4895 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.4366, allocations: 28.39 kB / 0.4895 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.485e-05/0.4367, allocations: 39.91 kB / 0.4895 GB, free: 11.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002766/0.437, allocations: 249.9 kB / 0.4898 GB, free: 11.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.437, allocations: 4 kB / 0.4898 GB, free: 11.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003391/0.4404, allocations: 1.325 MB / 0.4911 GB, free: 10.28 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.007147/0.4475, allocations: 3.072 MB / 0.4941 GB, free: 7.168 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.4491, allocations: 0.8117 MB / 0.4949 GB, free: 6.324 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.4491, allocations: 4 kB / 0.4949 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005558/0.4497, allocations: 287.2 kB / 0.4952 GB, free: 6.039 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.451, allocations: 269.5 kB / 0.4954 GB, free: 5.777 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00857/0.4596, allocations: 5.308 MB / 0.5006 GB, free: 296 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.4602, allocations: 0.8326 MB / 0.5014 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005012/0.4607, allocations: 148.2 kB / 0.5015 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.461, allocations: 159.3 kB / 0.5017 GB, free: 15.12 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.461, allocations: 0 / 0.5017 GB, free: 15.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.26/0.721, allocations: 51.8 MB / 0.5523 GB, free: 158.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.43, allocations: 10.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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