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.001701/0.001701, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002033/0.002033, allocations: 206 kB / 23.73 MB, free: 4.391 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.47/1.47, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.001952/0.001952, allocations: 63.91 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2974, allocations: 53.41 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.04195/0.3394, allocations: 24.56 MB / 455.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005472/0.3449, allocations: 3.774 MB / 459.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002818/0.3451, allocations: 7.938 kB / 459.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006804/0.3458, allocations: 190.8 kB / 459.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008414/0.3467, allocations: 346.1 kB / 460 MB, free: 9.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004151/0.3508, allocations: 1.466 MB / 461.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.352, allocations: 0.8873 MB / 462.4 MB, free: 7.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.3522, allocations: 76.83 kB / 462.4 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006641/0.3588, allocations: 4.135 MB / 466.6 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005384/0.3594, allocations: 282.8 kB / 466.9 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.065e-05/0.3594, allocations: 32 kB / 466.9 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.3609, allocations: 0.7024 MB / 467.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.3611, allocations: 91.73 kB / 467.7 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.3613, allocations: 171.4 kB / 467.8 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.3627, allocations: 0.8492 MB / 468.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3627, allocations: 0 / 468.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3627, allocations: 0 / 468.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.3628, allocations: 0 / 468.7 MB, free: 0.8125 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.001104/0.3639, allocations: 0.5906 MB / 469.3 MB, free: 196 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3639, allocations: 11.98 kB / 469.3 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.918e-05/0.364, allocations: 66.72 kB / 469.4 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004785/0.3645, allocations: 56.73 kB / 469.4 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.365, allocations: 226 kB / 469.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.365, allocations: 21.03 kB / 469.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.3651, allocations: 28.38 kB / 469.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.3657, allocations: 493.8 kB / 470.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.3657, allocations: 4 kB / 470.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.3658, allocations: 15.94 kB / 470.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.3658, allocations: 11.98 kB / 470.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.3661, allocations: 209.8 kB / 470.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/0.3788, allocations: 4.141 MB / 474.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.3792, allocations: 170.7 kB / 474.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.3793, allocations: 80.83 kB / 474.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/0.3893, allocations: 2.688 MB / 477.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.3894, allocations: 38.48 kB / 477.5 MB, free: 7.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.495e-06/0.3894, allocations: 0 / 477.5 MB, free: 7.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006392/0.3958, allocations: 1.264 MB / 478.8 MB, free: 6.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.3958, allocations: 59.34 kB / 478.8 MB, free: 6.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.3962, allocations: 261.8 kB / 479.1 MB, free: 6.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.3962, allocations: 29.7 kB / 479.1 MB, free: 6.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.3963, allocations: 196.4 kB / 479.3 MB, free: 5.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.01e-05/0.3964, allocations: 99.11 kB / 479.4 MB, free: 5.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3965, allocations: 69.69 kB / 479.5 MB, free: 5.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3967, allocations: 330.8 kB / 479.8 MB, free: 5.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.3969, allocations: 91.97 kB / 479.9 MB, free: 5.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.3971, allocations: 186.9 kB / 480.1 MB, free: 5.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.3976, allocations: 303.7 kB / 480.4 MB, free: 4.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3976, allocations: 7.984 kB / 480.4 MB, free: 4.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007304/0.3983, allocations: 394.8 kB / 480.8 MB, free: 4.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3983, allocations: 4 kB / 480.8 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3983, allocations: 4 kB / 480.8 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004083/0.4024, allocations: 0.9326 MB / 481.7 MB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.4027, allocations: 67.91 kB / 481.8 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.4045, allocations: 1.87 MB / 483.6 MB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.4047, allocations: 12 kB / 483.6 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.4047, allocations: 16 kB / 483.7 MB, free: 1.277 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.0001923/0.4049, allocations: 169.8 kB / 483.8 MB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.405, allocations: 27.86 kB / 483.9 MB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000796/0.4058, allocations: 498.7 kB / 484.3 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.4058, allocations: 4 kB / 484.3 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.4058, allocations: 0 / 484.3 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007831/0.4066, allocations: 0.7283 MB / 485.1 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.408, allocations: 0.8903 MB / 486 MB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.408, allocations: 0 / 486 MB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.4082, allocations: 40.02 kB / 486 MB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/0.4098, allocations: 324.4 kB / 486.3 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.4099, allocations: 8 kB / 486.3 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000576/0.4104, allocations: 0.6538 MB / 487 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4104, allocations: 0 / 487 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009985/0.4114, allocations: 0.7449 MB / 487.7 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.4115, allocations: 23.84 kB / 487.8 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.4115, allocations: 8 kB / 487.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.4117, allocations: 8 kB / 487.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.4118, allocations: 11.97 kB / 487.8 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.4118, allocations: 15.98 kB / 487.8 MB, free: 12.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.412, allocations: 185.2 kB / 488 MB, free: 12.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.412, allocations: 0 / 488 MB, free: 12.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006765/0.4127, allocations: 187.7 kB / 488.2 MB, free: 12.55 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.001845/0.4145, allocations: 1.444 MB / 489.6 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008203/0.4153, allocations: 443 kB / 490 MB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4153, allocations: 7.938 kB / 490 MB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.4158, allocations: 227.8 kB / 490.3 MB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009617/0.4168, allocations: 167.7 kB / 490.4 MB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.4213, allocations: 3.341 MB / 493.8 MB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.4215, allocations: 168.2 kB / 493.9 MB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.4217, allocations: 50.94 kB / 494 MB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.4219, allocations: 111.3 kB / 494.1 MB, free: 6.391 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4219, allocations: 0 / 494.1 MB, free: 6.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04711/0.469, allocations: 14.42 MB / 0.4966 GB, free: 8.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.5, allocations: 2.5 kB / 0.4966 GB, free: 8.145 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.67607502406463]