Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 112.1 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002346/0.002346, allocations: 208.6 kB / 24.49 MB, free: 4.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 207.6 MB / 235.3 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 55.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2734, allocations: 49.16 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03848/0.3119, allocations: 37.9 MB / 434.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00635/0.3183, allocations: 4.624 MB / 438.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000387/0.3187, allocations: 13.34 kB / 438.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009475/0.3196, allocations: 298.6 kB / 439.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009915/0.3206, allocations: 489.7 kB / 439.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005666/0.3263, allocations: 1.65 MB / 441.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.3282, allocations: 1.292 MB / 442.6 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.3285, allocations: 127 kB / 442.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007644/0.3292, allocations: 490.4 kB / 443.2 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006137/0.3299, allocations: 430.3 kB / 443.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.189e-05/0.3299, allocations: 44 kB / 443.7 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.3317, allocations: 0.7688 MB / 444.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.3319, allocations: 135.5 kB / 444.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003078/0.3322, allocations: 282.9 kB / 444.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.3338, allocations: 1.048 MB / 445.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3338, allocations: 0 / 445.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3338, allocations: 0 / 445.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.3338, allocations: 0 / 445.9 MB, free: 1.641 MB / 350.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.001213/0.335, allocations: 0.7191 MB / 446.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.3351, allocations: 15.98 kB / 446.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.3352, allocations: 82.7 kB / 446.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000578/0.3358, allocations: 76.62 kB / 446.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005508/0.3363, allocations: 277.8 kB / 447.1 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.3364, allocations: 33.31 kB / 447.1 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.3364, allocations: 52.27 kB / 447.1 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007162/0.3371, allocations: 471.5 kB / 447.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.3372, allocations: 4 kB / 447.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.3372, allocations: 16 kB / 447.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.3372, allocations: 15.98 kB / 447.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.3377, allocations: 303.7 kB / 447.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/0.351, allocations: 5.48 MB / 453.4 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.3514, allocations: 258.5 kB / 453.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.3517, allocations: 137.4 kB / 453.8 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01014/0.3618, allocations: 2.68 MB / 456.5 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.3619, allocations: 34.56 kB / 456.5 MB, free: 6.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.295e-06/0.3619, allocations: 0 / 456.5 MB, free: 6.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01152/0.3734, allocations: 2.311 MB / 458.8 MB, free: 4.246 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.3734, allocations: 55.41 kB / 458.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.3738, allocations: 300.5 kB / 459.2 MB, free: 3.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.3738, allocations: 41.64 kB / 459.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.374, allocations: 232.5 kB / 459.4 MB, free: 3.602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.3741, allocations: 166.6 kB / 459.6 MB, free: 3.438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.3743, allocations: 102.3 kB / 459.7 MB, free: 3.332 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3745, allocations: 346.8 kB / 460 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.3747, allocations: 153.2 kB / 460.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.3751, allocations: 276.7 kB / 460.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.3758, allocations: 476.2 kB / 460.9 MB, free: 2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3758, allocations: 0 / 460.9 MB, free: 2 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001111/0.3769, allocations: 0.5919 MB / 461.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3769, allocations: 8 kB / 461.5 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.3769, allocations: 8 kB / 461.5 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007807/0.3848, allocations: 1.844 MB / 463.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.3852, allocations: 115.8 kB / 463.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.3875, allocations: 2.458 MB / 466 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.3878, allocations: 12 kB / 466 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.3879, allocations: 24 kB / 466 MB, free: 12.75 MB / 382.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.0002919/0.3882, allocations: 181.6 kB / 466.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.3882, allocations: 43.77 kB / 466.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.3896, allocations: 0.8687 MB / 467.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.3896, allocations: 8 kB / 467.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3896, allocations: 3.984 kB / 467.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001199/0.3908, allocations: 0.9747 MB / 468.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.393, allocations: 1.487 MB / 469.5 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.393, allocations: 0 / 469.5 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.3933, allocations: 75.91 kB / 469.6 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003354/0.3967, allocations: 0.6218 MB / 470.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.3967, allocations: 19.92 kB / 470.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.3978, allocations: 1.296 MB / 471.6 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3978, allocations: 3.938 kB / 471.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.3995, allocations: 1.25 MB / 472.8 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3996, allocations: 39.66 kB / 472.9 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.3996, allocations: 12 kB / 472.9 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.3998, allocations: 16 kB / 472.9 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.3999, allocations: 31.98 kB / 472.9 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.3999, allocations: 19.98 kB / 472.9 MB, free: 5.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002375/0.4002, allocations: 211.1 kB / 473.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4002, allocations: 0 / 473.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007771/0.401, allocations: 235.7 kB / 473.4 MB, free: 5.129 MB / 382.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.002444/0.4034, allocations: 1.958 MB / 475.3 MB, free: 3.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.4047, allocations: 0.6879 MB / 476 MB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4047, allocations: 0 / 476 MB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009406/0.4056, allocations: 428.1 kB / 476.4 MB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.4068, allocations: 240.8 kB / 476.7 MB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006278/0.4131, allocations: 4.506 MB / 481.2 MB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.4136, allocations: 0.8323 MB / 482 MB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002877/0.4138, allocations: 68.34 kB / 482.1 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.4141, allocations: 159.4 kB / 482.2 MB, free: 11.99 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4141, allocations: 0 / 482.2 MB, free: 11.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05297/0.467, allocations: 18.02 MB / 0.4885 GB, free: 9.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.27, allocations: 19.86 kB / 0.4885 GB, free: 9.871 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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.000201919 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 17.767547818999446]