Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001235/0.001235, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 56.38 kB / 307 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07873/0.07987, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1987/0.2786, allocations: 65.72 MB / 423.3 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006401/0.285, allocations: 5.466 MB / 428.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.2853, allocations: 4 kB / 428.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009214/0.2863, allocations: 357.9 kB / 429.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008046/0.2871, allocations: 0.5088 MB / 429.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02026/0.3074, allocations: 7.433 MB / 437.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002064/0.3095, allocations: 1.543 MB / 438.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.3098, allocations: 224.2 kB / 438.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008435/0.3107, allocations: 0.6152 MB / 439.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006536/0.3113, allocations: 0.5723 MB / 440 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.3115, allocations: 84 kB / 440.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01715/0.3286, allocations: 10.06 MB / 450.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004862/0.3291, allocations: 323.2 kB / 450.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007762/0.3299, allocations: 434.4 kB / 450.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.343, allocations: 5.953 MB / 456.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.343, allocations: 0 / 456.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3431, allocations: 0 / 456.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.472e-05/0.3431, allocations: 0 / 456.8 MB, free: 8.027 MB / 366.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.003777/0.3469, allocations: 1.568 MB / 458.4 MB, free: 6.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3469, allocations: 8.031 kB / 458.4 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.3471, allocations: 110.5 kB / 458.5 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.3475, allocations: 83.23 kB / 458.6 MB, free: 6.203 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.3481, allocations: 440.8 kB / 459 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.608e-05/0.3482, allocations: 45.31 kB / 459.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.053e-05/0.3483, allocations: 67.91 kB / 459.1 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.35, allocations: 0.8184 MB / 460 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.35, allocations: 0 / 460 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/0.3501, allocations: 28 kB / 460 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.3501, allocations: 16 kB / 460 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.3518, allocations: 1.024 MB / 461 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01716/0.369, allocations: 12.79 MB / 473.8 MB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.3708, allocations: 0.7334 MB / 474.5 MB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.3714, allocations: 414.6 kB / 475 MB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01449/0.3859, allocations: 12.26 MB / 487.2 MB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.386, allocations: 43.16 kB / 487.2 MB, free: 4.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.725e-06/0.386, allocations: 0 / 487.2 MB, free: 4.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.009447/0.3955, allocations: 3.377 MB / 490.6 MB, free: 1.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.3955, allocations: 64.41 kB / 490.7 MB, free: 1.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.3959, allocations: 356.4 kB / 491 MB, free: 1.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-05/0.396, allocations: 49.64 kB / 491.1 MB, free: 1.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3962, allocations: 236.8 kB / 491.3 MB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.3964, allocations: 311.4 kB / 491.6 MB, free: 472 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.3966, allocations: 158.6 kB / 491.8 MB, free: 308 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3968, allocations: 362.8 kB / 492.1 MB, free: 15.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/0.3974, allocations: 365.8 kB / 492.5 MB, free: 15.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008673/0.3982, allocations: 0.4885 MB / 493 MB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.3999, allocations: 0.8981 MB / 493.9 MB, free: 14.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3999, allocations: 4 kB / 493.9 MB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002425/0.4024, allocations: 1.113 MB / 495 MB, free: 12.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4024, allocations: 11.94 kB / 495 MB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.4024, allocations: 0 / 495 MB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007656/0.4032, allocations: 167.5 kB / 495.2 MB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007169/0.4039, allocations: 195.6 kB / 495.4 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.4066, allocations: 4.117 MB / 499.5 MB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/0.407, allocations: 24 kB / 499.5 MB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-05/0.4071, allocations: 40.23 kB / 499.5 MB, free: 8.105 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 (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.0003101/0.4074, allocations: 234.7 kB / 499.8 MB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/0.4078, allocations: 63.34 kB / 499.8 MB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.4102, allocations: 1.281 MB / 0.4894 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.4102, allocations: 8 kB / 0.4894 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4102, allocations: 0 / 0.4894 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001717/0.4119, allocations: 1.327 MB / 0.4907 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.4149, allocations: 1.971 MB / 0.4926 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4149, allocations: 0 / 0.4926 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.4156, allocations: 163.8 kB / 0.4927 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/0.4173, allocations: 289.3 kB / 0.493 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/0.4174, allocations: 31.98 kB / 0.4931 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007276/0.4181, allocations: 1.289 MB / 0.4943 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4182, allocations: 3.984 kB / 0.4943 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.4207, allocations: 1.421 MB / 0.4957 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.4209, allocations: 128.6 kB / 0.4958 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.4211, allocations: 20 kB / 0.4958 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.4216, allocations: 31.97 kB / 0.4959 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.546e-05/0.4217, allocations: 56.92 kB / 0.4959 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-05/0.4218, allocations: 47.91 kB / 0.496 GB, free: 15.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002902/0.4221, allocations: 275 kB / 0.4962 GB, free: 15.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4221, allocations: 0 / 0.4962 GB, free: 15.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003502/0.4256, allocations: 1.421 MB / 0.4976 GB, free: 13.73 MB / 430.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.00879/0.4344, allocations: 3.584 MB / 0.5011 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002689/0.4371, allocations: 1.261 MB / 0.5024 GB, free: 8.812 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.4371, allocations: 4.562 kB / 0.5024 GB, free: 8.809 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008713/0.438, allocations: 495.2 kB / 0.5028 GB, free: 8.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.4399, allocations: 393.1 kB / 0.5032 GB, free: 7.945 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.4518, allocations: 7.175 MB / 0.5102 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.4524, allocations: 0.9205 MB / 0.5111 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000795/0.4532, allocations: 205.2 kB / 0.5113 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/0.4535, allocations: 227.4 kB / 0.5115 GB, free: 15.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4536, allocations: 0 / 0.5115 GB, free: 15.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2306/0.6841, allocations: 56.85 MB / 0.567 GB, free: 124.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.77/17.46, allocations: 11.98 kB / 0.5671 GB, free: 124.2 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches