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.0008575/0.0008575, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004109/0.004109, allocations: 161.2 kB / 24.69 MB, free: 9.414 MB / 18.57 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 0.8359/0.8359, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.108e-05, allocations: 6.219 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1612/0.1612, allocations: 33.76 MB / 332.2 MB, free: 10 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004018/0.1652, allocations: 4.154 MB / 336.4 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/0.1655, allocations: 9.594 kB / 336.4 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.1661, allocations: 282.2 kB / 336.7 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006616/0.1668, allocations: 0.4941 MB / 337.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003805/0.1706, allocations: 1.677 MB / 338.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.1718, allocations: 1.287 MB / 340.1 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.172, allocations: 118.7 kB / 340.2 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006181/0.1726, allocations: 0.6398 MB / 340.9 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.173, allocations: 377 kB / 341.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.864e-05/0.173, allocations: 46.62 kB / 341.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.1741, allocations: 0.7273 MB / 342 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.1742, allocations: 142.5 kB / 342.1 MB, free: 2.988 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.1744, allocations: 212.5 kB / 342.4 MB, free: 2.879 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.1755, allocations: 1.177 MB / 343.5 MB, free: 1.699 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1755, allocations: 0 / 343.5 MB, free: 1.699 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1755, allocations: 0 / 343.5 MB, free: 1.699 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1756, allocations: 0 / 343.5 MB, free: 1.699 MB / 298.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.0007647/0.1763, allocations: 0.7036 MB / 344.2 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.1764, allocations: 13.95 kB / 344.3 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.925e-05/0.1764, allocations: 82.7 kB / 344.3 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003282/0.1768, allocations: 80.62 kB / 344.4 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.1772, allocations: 281 kB / 344.7 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1772, allocations: 29.38 kB / 344.7 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.1773, allocations: 48.27 kB / 344.8 MB, free: 416 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005614/0.1778, allocations: 0.6619 MB / 345.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.1778, allocations: 4.375 kB / 345.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.1779, allocations: 23.92 kB / 345.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.1779, allocations: 12 kB / 345.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.1782, allocations: 295.7 kB / 345.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006446/0.1847, allocations: 4.62 MB / 350.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.185, allocations: 256.5 kB / 350.6 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.1852, allocations: 132.8 kB / 350.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004268/0.1894, allocations: 2.684 MB / 353.4 MB, free: 7.531 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1894, allocations: 42.5 kB / 353.5 MB, free: 7.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.1894, allocations: 0 / 353.5 MB, free: 7.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.005638/0.1951, allocations: 2.309 MB / 355.8 MB, free: 5.148 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.1951, allocations: 59.41 kB / 355.8 MB, free: 5.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.1953, allocations: 312.3 kB / 356.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.1954, allocations: 33.7 kB / 356.2 MB, free: 4.727 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1955, allocations: 232.4 kB / 356.4 MB, free: 4.496 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.41e-05/0.1955, allocations: 170.5 kB / 356.6 MB, free: 4.328 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.1956, allocations: 98.33 kB / 356.7 MB, free: 4.227 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.1958, allocations: 346.8 kB / 357 MB, free: 3.879 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.196, allocations: 153.2 kB / 357.2 MB, free: 3.727 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.1962, allocations: 276.7 kB / 357.4 MB, free: 3.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.1966, allocations: 469.3 kB / 357.9 MB, free: 2.898 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1967, allocations: 4 kB / 357.9 MB, free: 2.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006489/0.1973, allocations: 0.5933 MB / 358.5 MB, free: 2.289 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1973, allocations: 8 kB / 358.5 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1973, allocations: 0 / 358.5 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003686/0.201, allocations: 1.855 MB / 360.3 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.2012, allocations: 111.8 kB / 360.5 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.2025, allocations: 2.456 MB / 362.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.2026, allocations: 12.25 kB / 362.9 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.2027, allocations: 24 kB / 362.9 MB, free: 13.64 MB / 330.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.0001408/0.2028, allocations: 181.6 kB / 363.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.2029, allocations: 43.7 kB / 363.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009708/0.2038, allocations: 0.8613 MB / 364 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.2038, allocations: 11.94 kB / 364 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.2038, allocations: 0 / 364 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006592/0.2045, allocations: 0.9712 MB / 365 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.2058, allocations: 1.436 MB / 366.4 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2058, allocations: 0 / 366.4 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.2059, allocations: 75.91 kB / 366.5 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.2075, allocations: 0.618 MB / 367.1 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.2075, allocations: 12.09 kB / 367.2 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006303/0.2081, allocations: 1.304 MB / 368.5 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2081, allocations: 0 / 368.5 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.2092, allocations: 1.251 MB / 369.7 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.2093, allocations: 47.69 kB / 369.8 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.2093, allocations: 12 kB / 369.8 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.2094, allocations: 4.125 kB / 369.8 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.2095, allocations: 35.94 kB / 369.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.2095, allocations: 23.92 kB / 369.8 MB, free: 6.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.2096, allocations: 211.1 kB / 370 MB, free: 6.316 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2096, allocations: 0 / 370 MB, free: 6.316 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005356/0.2102, allocations: 231.7 kB / 370.3 MB, free: 6.09 MB / 330.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.00179/0.212, allocations: 1.973 MB / 372.2 MB, free: 4.074 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007968/0.2128, allocations: 0.6769 MB / 372.9 MB, free: 3.387 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2128, allocations: 8 kB / 372.9 MB, free: 3.379 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005035/0.2133, allocations: 428 kB / 373.3 MB, free: 2.961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006909/0.2139, allocations: 240.8 kB / 373.6 MB, free: 2.727 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.2177, allocations: 4.422 MB / 378 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.218, allocations: 229.1 kB / 378.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001719/0.2182, allocations: 76.33 kB / 378.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.2183, allocations: 160.4 kB / 378.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of SimCode: time 8.41e-07/0.2183, allocations: 0 / 378.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.2458, allocations: 18.59 MB / 397 MB, free: 10.96 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/8.481, allocations: 8.047 kB / 397 MB, free: 10.95 MB / 362.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/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: 10.840971021912992]