Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2315, allocations: 50.54 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03257/0.2641, allocations: 37.52 MB / 446.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00488/0.269, allocations: 4.584 MB / 450.9 MB, free: 7.281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.2693, allocations: 7.938 kB / 450.9 MB, free: 7.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007594/0.2701, allocations: 294.2 kB / 451.2 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007871/0.2709, allocations: 493.3 kB / 451.6 MB, free: 6.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004289/0.2752, allocations: 1.65 MB / 453.3 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.2766, allocations: 1.273 MB / 454.6 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.2769, allocations: 158.7 kB / 454.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.2774, allocations: 478.5 kB / 455.2 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004424/0.2779, allocations: 406.4 kB / 455.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.2779, allocations: 44 kB / 455.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.2794, allocations: 0.761 MB / 456.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.2795, allocations: 131.6 kB / 456.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.2798, allocations: 282.9 kB / 456.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.281, allocations: 1.048 MB / 457.8 MB, free: 296 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.281, allocations: 0 / 457.8 MB, free: 296 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.281, allocations: 0 / 457.8 MB, free: 296 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.2811, allocations: 4 kB / 457.9 MB, free: 292 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001038/0.2821, allocations: 0.7905 MB / 458.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2822, allocations: 8.031 kB / 458.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.218e-05/0.2822, allocations: 82.7 kB / 458.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005589/0.2828, allocations: 80.62 kB / 458.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.2833, allocations: 343.6 kB / 459.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.2833, allocations: 33.38 kB / 459.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/0.2834, allocations: 44.38 kB / 459.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006271/0.284, allocations: 467.5 kB / 459.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.2841, allocations: 4 kB / 459.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.2841, allocations: 16 kB / 459.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2841, allocations: 11.94 kB / 459.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.2846, allocations: 303.7 kB / 460 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/0.2974, allocations: 6.746 MB / 466.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.2978, allocations: 278.5 kB / 467 MB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.2981, allocations: 151.6 kB / 467.2 MB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.3082, allocations: 3.893 MB / 471.1 MB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3083, allocations: 34.56 kB / 471.1 MB, free: 1.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.304e-06/0.3083, allocations: 7.938 kB / 471.1 MB, free: 1.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01159/0.3199, allocations: 2.461 MB / 473.6 MB, free: 15.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.3199, allocations: 59.34 kB / 473.6 MB, free: 15.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.3203, allocations: 303.2 kB / 473.9 MB, free: 15.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.3203, allocations: 33.7 kB / 474 MB, free: 15.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3205, allocations: 232.5 kB / 474.2 MB, free: 14.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.3206, allocations: 170.6 kB / 474.3 MB, free: 14.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.3207, allocations: 98.2 kB / 474.4 MB, free: 14.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3209, allocations: 346.8 kB / 474.8 MB, free: 14.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.3211, allocations: 149.1 kB / 474.9 MB, free: 14.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.3214, allocations: 283.7 kB / 475.2 MB, free: 13.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005887/0.322, allocations: 472.2 kB / 475.7 MB, free: 13.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3221, allocations: 0 / 475.7 MB, free: 13.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001005/0.3231, allocations: 0.5956 MB / 476.3 MB, free: 12.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3231, allocations: 8 kB / 476.3 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3231, allocations: 4 kB / 476.3 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007919/0.331, allocations: 1.84 MB / 478.1 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.3315, allocations: 115.8 kB / 478.2 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.3334, allocations: 2.56 MB / 480.8 MB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.3337, allocations: 16 kB / 480.8 MB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.3337, allocations: 20 kB / 480.8 MB, free: 7.844 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002189/0.334, allocations: 193.3 kB / 481 MB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.457e-05/0.3341, allocations: 39.77 kB / 481 MB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.3351, allocations: 0.8553 MB / 481.9 MB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3352, allocations: 7.984 kB / 481.9 MB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3352, allocations: 0 / 481.9 MB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009166/0.3361, allocations: 0.9689 MB / 482.9 MB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.338, allocations: 1.478 MB / 484.4 MB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.338, allocations: 96 / 484.4 MB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.3383, allocations: 79.89 kB / 484.4 MB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003245/0.3415, allocations: 0.6257 MB / 485.1 MB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.3416, allocations: 23.86 kB / 485.1 MB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000912/0.3425, allocations: 1.273 MB / 486.4 MB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.3425, allocations: 3.938 kB / 486.4 MB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.344, allocations: 1.225 MB / 487.6 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3441, allocations: 112.8 kB / 487.7 MB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.3442, allocations: 16.03 kB / 487.7 MB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.3444, allocations: 11.94 kB / 487.7 MB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.3445, allocations: 27.97 kB / 487.8 MB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.3445, allocations: 15.98 kB / 487.8 MB, free: 0.6367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002152/0.3448, allocations: 213.9 kB / 488 MB, free: 436 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3448, allocations: 0 / 488 MB, free: 436 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007146/0.3455, allocations: 235.7 kB / 488.2 MB, free: 200 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002109/0.3476, allocations: 1.947 MB / 490.2 MB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.3488, allocations: 0.7026 MB / 490.9 MB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3488, allocations: 0 / 490.9 MB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008723/0.3497, allocations: 440.2 kB / 491.3 MB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.3509, allocations: 228.8 kB / 491.5 MB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/0.3562, allocations: 4.488 MB / 496 MB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.3566, allocations: 0.8324 MB / 496.8 MB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002799/0.3569, allocations: 68.34 kB / 496.9 MB, free: 7.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.3571, allocations: 163.4 kB / 497.1 MB, free: 7.074 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3571, allocations: 0 / 497.1 MB, free: 7.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/0.3946, allocations: 17.37 MB / 0.5024 GB, free: 5.836 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.28, allocations: 7.562 kB / 0.5024 GB, free: 5.832 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches