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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 230.5 MB / 257.4 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 59.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2585, allocations: 53.42 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03134/0.2898, allocations: 27.43 MB / 458.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00534/0.2952, allocations: 4.202 MB / 462.8 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.2955, allocations: 7.938 kB / 462.8 MB, free: 6.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006874/0.2961, allocations: 206.7 kB / 463 MB, free: 6.742 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007385/0.2969, allocations: 354.1 kB / 463.4 MB, free: 6.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004067/0.301, allocations: 1.473 MB / 464.8 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.3022, allocations: 0.9107 MB / 465.8 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.3024, allocations: 72.45 kB / 465.8 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006709/0.3091, allocations: 4.143 MB / 470 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004621/0.3095, allocations: 298.8 kB / 470.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.113e-05/0.3096, allocations: 28 kB / 470.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.3112, allocations: 0.7298 MB / 471 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.3113, allocations: 95.66 kB / 471.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.3116, allocations: 195.3 kB / 471.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.3129, allocations: 0.8453 MB / 472.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3129, allocations: 4 kB / 472.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3129, allocations: 0 / 472.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3129, allocations: 0 / 472.2 MB, free: 13.61 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001176/0.3141, allocations: 0.5906 MB / 472.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3142, allocations: 8.031 kB / 472.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.567e-05/0.3142, allocations: 62.72 kB / 472.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004442/0.3147, allocations: 56.73 kB / 472.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.3151, allocations: 234 kB / 473.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.3151, allocations: 21.03 kB / 473.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.3152, allocations: 24.38 kB / 473.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.3157, allocations: 339.5 kB / 473.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.3157, allocations: 3.938 kB / 473.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.3158, allocations: 16 kB / 473.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.3158, allocations: 8 kB / 473.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.3161, allocations: 213.8 kB / 473.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.329, allocations: 4.668 MB / 478.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.3293, allocations: 170.6 kB / 478.5 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.3295, allocations: 84.83 kB / 478.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.3398, allocations: 2.676 MB / 481.3 MB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.3398, allocations: 38.56 kB / 481.3 MB, free: 4.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.164e-06/0.3398, allocations: 0 / 481.3 MB, free: 4.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006401/0.3462, allocations: 1.272 MB / 482.6 MB, free: 2.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.3463, allocations: 55.34 kB / 482.7 MB, free: 2.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.3466, allocations: 257.9 kB / 482.9 MB, free: 2.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.3467, allocations: 33.7 kB / 483 MB, free: 2.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.3468, allocations: 188.4 kB / 483.1 MB, free: 2.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.616e-05/0.3469, allocations: 95.17 kB / 483.2 MB, free: 2.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.347, allocations: 73.64 kB / 483.3 MB, free: 2.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3472, allocations: 338.8 kB / 483.6 MB, free: 1.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.3473, allocations: 87.97 kB / 483.7 MB, free: 1.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.3476, allocations: 190.8 kB / 483.9 MB, free: 1.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.348, allocations: 299.8 kB / 484.2 MB, free: 1.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.348, allocations: 3.938 kB / 484.2 MB, free: 1.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007476/0.3488, allocations: 390.9 kB / 484.6 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.3488, allocations: 4 kB / 484.6 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3488, allocations: 4 kB / 484.6 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004179/0.353, allocations: 0.9366 MB / 485.5 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.3533, allocations: 67.91 kB / 485.6 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.3551, allocations: 1.878 MB / 487.5 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.3554, allocations: 12 kB / 487.5 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.3554, allocations: 12 kB / 487.5 MB, free: 13.63 MB / 398.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.0002199/0.3556, allocations: 157.7 kB / 487.6 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.3557, allocations: 31.8 kB / 487.7 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007941/0.3565, allocations: 0.491 MB / 488.2 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.3565, allocations: 7.984 kB / 488.2 MB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.3565, allocations: 0 / 488.2 MB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007434/0.3572, allocations: 0.7279 MB / 488.9 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.3586, allocations: 0.9216 MB / 489.8 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3586, allocations: 0 / 489.8 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.3588, allocations: 55.94 kB / 489.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/0.3606, allocations: 316.4 kB / 490.2 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.3606, allocations: 4 kB / 490.2 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005929/0.3612, allocations: 0.6499 MB / 490.8 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.3612, allocations: 4.031 kB / 490.9 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3623, allocations: 0.7408 MB / 491.6 MB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-05/0.3623, allocations: 35.72 kB / 491.6 MB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.3624, allocations: 8 kB / 491.6 MB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.3626, allocations: 8.109 kB / 491.6 MB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.3626, allocations: 19.97 kB / 491.7 MB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.3626, allocations: 12 kB / 491.7 MB, free: 9.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.3628, allocations: 185.2 kB / 491.9 MB, free: 9.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3628, allocations: 0 / 491.9 MB, free: 9.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007019/0.3635, allocations: 183.7 kB / 492 MB, free: 8.867 MB / 398.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.001866/0.3654, allocations: 1.448 MB / 493.5 MB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008843/0.3663, allocations: 451 kB / 493.9 MB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3663, allocations: 0 / 493.9 MB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005321/0.3668, allocations: 223.8 kB / 494.1 MB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009781/0.3678, allocations: 166.4 kB / 494.3 MB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/0.3725, allocations: 3.341 MB / 497.6 MB, free: 3.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.3729, allocations: 0.7721 MB / 498.4 MB, free: 2.246 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002572/0.3731, allocations: 58.92 kB / 498.5 MB, free: 2.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.3733, allocations: 103.4 kB / 498.6 MB, free: 2.082 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3733, allocations: 0 / 498.6 MB, free: 2.082 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04785/0.4211, allocations: 13.84 MB / 0.5004 GB, free: 4.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.71, allocations: 7.922 kB / 0.5004 GB, free: 4.359 MB / 414.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.855929361998278]