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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008466/0.0008466, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009208/0.0009208, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8561/0.8561, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.322e-05, allocations: 3.266 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0248/0.02483, allocations: 33.83 MB / 358.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003697/0.02852, allocations: 4.167 MB / 362.5 MB, free: 9.727 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.02876, allocations: 11.94 kB / 362.5 MB, free: 9.715 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006178/0.02938, allocations: 286.1 kB / 362.8 MB, free: 9.434 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006587/0.03004, allocations: 0.4968 MB / 363.3 MB, free: 8.934 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.0332, allocations: 1.671 MB / 365 MB, free: 7.258 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009999/0.0342, allocations: 1.283 MB / 366.3 MB, free: 5.969 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.03438, allocations: 119 kB / 366.4 MB, free: 5.852 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005907/0.03498, allocations: 0.639 MB / 367 MB, free: 5.211 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/0.03531, allocations: 382.8 kB / 367.4 MB, free: 4.836 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.03536, allocations: 44 kB / 367.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008837/0.03624, allocations: 0.7335 MB / 368.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.03635, allocations: 139.5 kB / 368.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.03649, allocations: 219.6 kB / 368.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009384/0.03743, allocations: 1.165 MB / 369.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.03743, allocations: 0 / 369.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.03743, allocations: 0 / 369.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.03744, allocations: 0 / 369.7 MB, free: 2.539 MB / 330.7 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.0007595/0.0382, allocations: 0.7074 MB / 370.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.03824, allocations: 19.98 kB / 370.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.9e-05/0.03829, allocations: 78.72 kB / 370.5 MB, free: 1.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.0386, allocations: 76.62 kB / 370.6 MB, free: 1.617 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.03896, allocations: 281 kB / 370.9 MB, free: 1.316 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.03898, allocations: 25.38 kB / 370.9 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.03902, allocations: 44.38 kB / 370.9 MB, free: 1.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/0.0395, allocations: 0.6619 MB / 371.6 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.03952, allocations: 8.109 kB / 371.6 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.03955, allocations: 19.94 kB / 371.6 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.03956, allocations: 12 kB / 371.6 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.03986, allocations: 299.7 kB / 371.9 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005985/0.04584, allocations: 4.623 MB / 376.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.04617, allocations: 254.4 kB / 376.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.04631, allocations: 136.8 kB / 376.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004372/0.05069, allocations: 2.676 MB / 379.6 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.05072, allocations: 46.44 kB / 379.6 MB, free: 8.316 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.05072, allocations: 0 / 379.6 MB, free: 8.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.00592/0.05664, allocations: 2.323 MB / 382 MB, free: 5.957 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.05667, allocations: 59.39 kB / 382 MB, free: 5.887 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.0569, allocations: 308.3 kB / 382.3 MB, free: 5.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.05692, allocations: 33.7 kB / 382.4 MB, free: 5.531 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.05703, allocations: 228.5 kB / 382.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.05711, allocations: 170.5 kB / 382.7 MB, free: 5.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/0.0572, allocations: 98.3 kB / 382.8 MB, free: 5.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.618e-05/0.05729, allocations: 346.8 kB / 383.2 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.05745, allocations: 149.2 kB / 383.3 MB, free: 4.543 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.05767, allocations: 280.7 kB / 383.6 MB, free: 4.223 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.0581, allocations: 477.2 kB / 384.1 MB, free: 3.707 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.0581, allocations: 0 / 384.1 MB, free: 3.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006623/0.05877, allocations: 0.5896 MB / 384.7 MB, free: 3.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.05878, allocations: 8 kB / 384.7 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.05879, allocations: 4 kB / 384.7 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003627/0.06242, allocations: 1.858 MB / 386.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.06264, allocations: 103.9 kB / 386.6 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.06392, allocations: 2.45 MB / 389.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.06405, allocations: 16 kB / 389.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.06408, allocations: 23.98 kB / 389.1 MB, free: 14.48 MB / 362.7 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.000143/0.06422, allocations: 177.8 kB / 389.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.06427, allocations: 43.7 kB / 389.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007647/0.06503, allocations: 0.8651 MB / 390.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.06504, allocations: 15.98 kB / 390.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.06505, allocations: 0 / 390.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006548/0.0657, allocations: 0.975 MB / 391.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.06694, allocations: 1.417 MB / 392.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.06695, allocations: 4 kB / 392.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.0671, allocations: 83.86 kB / 392.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/0.06855, allocations: 0.6179 MB / 393.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.06858, allocations: 15.98 kB / 393.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005993/0.06918, allocations: 1.296 MB / 394.6 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.06919, allocations: 8.016 kB / 394.6 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.07021, allocations: 1.251 MB / 395.9 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.07025, allocations: 39.66 kB / 395.9 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.07029, allocations: 12 kB / 395.9 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.0704, allocations: 4 kB / 395.9 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.07045, allocations: 35.92 kB / 396 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.07047, allocations: 19.98 kB / 396 MB, free: 7.367 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001592/0.07063, allocations: 215.1 kB / 396.2 MB, free: 7.156 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07063, allocations: 0 / 396.2 MB, free: 7.156 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005282/0.07116, allocations: 231.7 kB / 396.4 MB, free: 6.93 MB / 362.7 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.001582/0.07274, allocations: 1.977 MB / 398.4 MB, free: 4.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008733/0.07361, allocations: 0.6761 MB / 399.1 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.07361, allocations: 4 kB / 399.1 MB, free: 4.223 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005799/0.07419, allocations: 424.8 kB / 399.5 MB, free: 3.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.07521, allocations: 243.5 kB / 399.7 MB, free: 3.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.08018, allocations: 4.405 MB / 404.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.08035, allocations: 237.1 kB / 404.4 MB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002637/0.08061, allocations: 72.34 kB / 404.4 MB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.08076, allocations: 160.4 kB / 404.6 MB, free: 14.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.592e-06/0.08076, allocations: 0 / 404.6 MB, free: 14.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.1137, allocations: 18.59 MB / 423.2 MB, free: 12.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/8.283, allocations: 4.062 kB / 423.2 MB, free: 12.09 MB / 394.7 MB " [Timeout remaining time 652] (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.000201919 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.679337485693395]