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.0008488/0.0008488, allocations: 98.52 kB / 16.65 MB, free: 6.59 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.0009236/0.0009237, allocations: 183.4 kB / 17.57 MB, free: 6.199 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.175/1.175, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003072, allocations: 8 kB / 301.5 MB, free: 6.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08095/0.08128, allocations: 50.41 MB / 351.9 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1943/0.2757, allocations: 65.84 MB / 417.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00549/0.2812, allocations: 5.469 MB / 423.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002819/0.2815, allocations: 10.41 kB / 423.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007145/0.2822, allocations: 299.9 kB / 423.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007086/0.2829, allocations: 0.4991 MB / 424 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01441/0.2973, allocations: 6.251 MB / 430.3 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002187/0.2995, allocations: 2.308 MB / 432.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.2998, allocations: 161.4 kB / 432.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000657/0.3005, allocations: 0.5176 MB / 433.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006099/0.3011, allocations: 0.5761 MB / 433.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/0.3012, allocations: 36 kB / 433.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01564/0.3168, allocations: 10.36 MB / 444.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.3172, allocations: 271.2 kB / 444.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005228/0.3178, allocations: 408.2 kB / 444.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.3283, allocations: 6.002 MB / 450.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3283, allocations: 0 / 450.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.3283, allocations: 4 kB / 450.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.625e-05/0.3283, allocations: 0 / 450.9 MB, free: 1.48 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.003097/0.3314, allocations: 1.409 MB / 452.3 MB, free: 24 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3315, allocations: 8.031 kB / 452.3 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.3316, allocations: 108.6 kB / 452.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.332, allocations: 83.23 kB / 452.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.3326, allocations: 436.8 kB / 452.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.3326, allocations: 45.31 kB / 453 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-05/0.3327, allocations: 67.94 kB / 453.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.3343, allocations: 0.8107 MB / 453.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.3343, allocations: 7.906 kB / 453.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.3344, allocations: 24 kB / 453.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.3344, allocations: 16 kB / 453.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.3361, allocations: 1.024 MB / 454.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/0.3511, allocations: 12.83 MB / 467.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.3528, allocations: 0.754 MB / 468.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.3533, allocations: 414 kB / 468.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01311/0.3664, allocations: 12.3 MB / 481.2 MB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.3665, allocations: 47.22 kB / 481.3 MB, free: 14.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.224e-06/0.3665, allocations: 0 / 481.3 MB, free: 14.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.009045/0.3756, allocations: 3.428 MB / 484.7 MB, free: 10.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.3756, allocations: 60.41 kB / 484.8 MB, free: 10.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.376, allocations: 360.5 kB / 485.1 MB, free: 10.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.121e-05/0.3761, allocations: 41.7 kB / 485.2 MB, free: 10.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3763, allocations: 240.6 kB / 485.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.3765, allocations: 303.6 kB / 485.7 MB, free: 9.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3766, allocations: 77.67 kB / 485.8 MB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3767, allocations: 362.8 kB / 486.1 MB, free: 9.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.3773, allocations: 369.8 kB / 486.5 MB, free: 9.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008201/0.3781, allocations: 492.2 kB / 487 MB, free: 8.613 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.3797, allocations: 0.9059 MB / 487.9 MB, free: 7.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3797, allocations: 0 / 487.9 MB, free: 7.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002291/0.382, allocations: 1.113 MB / 489 MB, free: 6.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.382, allocations: 7.938 kB / 489 MB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.382, allocations: 8.281 kB / 489 MB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007216/0.3828, allocations: 167.3 kB / 489.2 MB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/0.3835, allocations: 187.7 kB / 489.3 MB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.3858, allocations: 3.916 MB / 493.3 MB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.3863, allocations: 63.8 kB / 493.3 MB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/0.3864, allocations: 43.98 kB / 493.4 MB, free: 1.828 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.0002862/0.3867, allocations: 229.6 kB / 493.6 MB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/0.387, allocations: 63.38 kB / 493.7 MB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.3891, allocations: 1.285 MB / 494.9 MB, free: 216 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3891, allocations: 11.94 kB / 494.9 MB, free: 204 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3891, allocations: 0 / 494.9 MB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001633/0.3908, allocations: 1.324 MB / 496.3 MB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.3935, allocations: 1.971 MB / 498.2 MB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3935, allocations: 0 / 498.2 MB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006323/0.3942, allocations: 163.7 kB / 498.4 MB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.3958, allocations: 301.2 kB / 498.7 MB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.797e-05/0.3959, allocations: 31.98 kB / 498.7 MB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006562/0.3966, allocations: 1.293 MB / 0.4883 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3966, allocations: 4.031 kB / 0.4883 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.3988, allocations: 1.409 MB / 0.4897 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.399, allocations: 140.5 kB / 0.4898 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.353e-05/0.399, allocations: 24 kB / 0.4898 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/0.3996, allocations: 59.73 kB / 0.4899 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.3997, allocations: 52.92 kB / 0.4899 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.471e-05/0.3998, allocations: 43.97 kB / 0.49 GB, free: 9.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.4, allocations: 279 kB / 0.4903 GB, free: 8.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4, allocations: 0 / 0.4903 GB, free: 8.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003104/0.4032, allocations: 1.402 MB / 0.4916 GB, free: 7.434 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.007462/0.4106, allocations: 3.593 MB / 0.4951 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.4124, allocations: 1.148 MB / 0.4963 GB, free: 2.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4124, allocations: 4.125 kB / 0.4963 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007849/0.4132, allocations: 491.2 kB / 0.4967 GB, free: 2.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.415, allocations: 381.8 kB / 0.4971 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.4257, allocations: 7.518 MB / 0.5044 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.4261, allocations: 0.9089 MB / 0.5053 GB, free: 9.141 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007125/0.4268, allocations: 209.3 kB / 0.5055 GB, free: 8.934 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.4272, allocations: 227.4 kB / 0.5057 GB, free: 8.711 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4272, allocations: 0 / 0.5057 GB, free: 8.711 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.09/2.517, allocations: 55.48 MB / 0.5599 GB, free: 135.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/2.517, allocations: 277 kB / 0.5602 GB, free: 134.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.139/6.657, allocations: 3.094 kB / 0.5602 GB, free: 134.8 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