Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001448, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001778/0.001778, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.26, allocations: 50.55 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02708/0.2871, allocations: 27.1 MB / 435.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005006/0.2922, allocations: 4.163 MB / 440 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/0.2926, allocations: 4 kB / 440 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007721/0.2934, allocations: 206.7 kB / 440.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008429/0.2943, allocations: 338.1 kB / 440.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004515/0.2988, allocations: 1.471 MB / 442 MB, free: 148 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.2999, allocations: 0.8911 MB / 442.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.3002, allocations: 100.6 kB / 443 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006318/0.3065, allocations: 4.053 MB / 447.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.307, allocations: 274.9 kB / 447.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.249e-05/0.3071, allocations: 32 kB / 447.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.3085, allocations: 0.7259 MB / 448.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.3086, allocations: 91.67 kB / 448.2 MB, free: 9.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.3089, allocations: 195.2 kB / 448.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.3102, allocations: 0.8533 MB / 449.2 MB, free: 8.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3102, allocations: 4 kB / 449.3 MB, free: 8.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3102, allocations: 0 / 449.3 MB, free: 8.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.3102, allocations: 0 / 449.3 MB, free: 8.926 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009766/0.3112, allocations: 0.651 MB / 449.9 MB, free: 8.227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3113, allocations: 11.97 kB / 449.9 MB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.439e-05/0.3113, allocations: 58.73 kB / 450 MB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004516/0.3118, allocations: 64.53 kB / 450 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.3123, allocations: 295.7 kB / 450.3 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3123, allocations: 20.94 kB / 450.3 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.3123, allocations: 24.38 kB / 450.4 MB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.3128, allocations: 346.4 kB / 450.7 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3129, allocations: 0 / 450.7 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.3129, allocations: 12 kB / 450.7 MB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3129, allocations: 8 kB / 450.7 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.3132, allocations: 210 kB / 450.9 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.3258, allocations: 5.912 MB / 456.8 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.3262, allocations: 189.9 kB / 457 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.3263, allocations: 84.83 kB / 457.1 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/0.3368, allocations: 3.889 MB / 461 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.3369, allocations: 34.56 kB / 461 MB, free: 12.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/0.3369, allocations: 0 / 461 MB, free: 12.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006105/0.343, allocations: 1.414 MB / 462.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.343, allocations: 55.41 kB / 462.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.3433, allocations: 258.5 kB / 462.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.3433, allocations: 33.7 kB / 462.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3435, allocations: 180.1 kB / 463 MB, free: 10.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.3435, allocations: 94.64 kB / 463.1 MB, free: 10.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/0.3436, allocations: 77.59 kB / 463.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3438, allocations: 338.8 kB / 463.5 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3439, allocations: 87.97 kB / 463.5 MB, free: 9.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.3441, allocations: 194.8 kB / 463.7 MB, free: 9.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/0.3445, allocations: 303 kB / 464 MB, free: 8.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3445, allocations: 0 / 464 MB, free: 8.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006661/0.3452, allocations: 394.7 kB / 464.4 MB, free: 8.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3452, allocations: 4 kB / 464.4 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.3453, allocations: 4 kB / 464.4 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003827/0.3491, allocations: 0.9328 MB / 465.4 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.3494, allocations: 67.91 kB / 465.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.3509, allocations: 1.986 MB / 467.4 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.3511, allocations: 16 kB / 467.4 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.3512, allocations: 12 kB / 467.4 MB, free: 5.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.3513, allocations: 161.6 kB / 467.6 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/0.3514, allocations: 27.78 kB / 467.6 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007143/0.3521, allocations: 494.1 kB / 468.1 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.3521, allocations: 4 kB / 468.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.3522, allocations: 0 / 468.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006242/0.3528, allocations: 0.713 MB / 468.8 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.354, allocations: 0.9456 MB / 469.8 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.3541, allocations: 4.031 kB / 469.8 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.3543, allocations: 47.92 kB / 469.8 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.3559, allocations: 308.5 kB / 470.1 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.356, allocations: 8 kB / 470.1 MB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004647/0.3564, allocations: 0.6498 MB / 470.8 MB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3565, allocations: 4.031 kB / 470.8 MB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000917/0.3574, allocations: 0.7137 MB / 471.5 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/0.3575, allocations: 104.8 kB / 471.6 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.3575, allocations: 8.125 kB / 471.6 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.3577, allocations: 8 kB / 471.6 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.3578, allocations: 15.97 kB / 471.6 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.3578, allocations: 12 kB / 471.6 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.358, allocations: 185.9 kB / 471.8 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.358, allocations: 3.938 kB / 471.8 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006243/0.3586, allocations: 191.9 kB / 472 MB, free: 0.5781 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001682/0.3603, allocations: 1.417 MB / 473.4 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007827/0.3611, allocations: 471 kB / 473.9 MB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3611, allocations: 0 / 473.9 MB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005173/0.3616, allocations: 227.8 kB / 474.1 MB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/0.3626, allocations: 184.1 kB / 474.3 MB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.3672, allocations: 3.316 MB / 477.6 MB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.3677, allocations: 0.776 MB / 478.4 MB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002421/0.368, allocations: 54.92 kB / 478.4 MB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3681, allocations: 103.4 kB / 478.5 MB, free: 9.809 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3681, allocations: 0 / 478.5 MB, free: 9.809 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/0.4041, allocations: 13.56 MB / 492.1 MB, free: 12.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.32, allocations: 7.922 kB / 492.1 MB, free: 12.37 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches