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.0008452/0.0008452, 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.004642/0.004642, 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.8561/0.8561, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.363e-06/1.363e-06, allocations: 0 / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.859e-05, allocations: 2.281 kB / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1412/0.1413, allocations: 33.77 MB / 332.2 MB, free: 10 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004416/0.1457, allocations: 4.144 MB / 336.4 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.1459, allocations: 9.062 kB / 336.4 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000799/0.1467, allocations: 278.5 kB / 336.6 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007334/0.1474, allocations: 0.503 MB / 337.2 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003735/0.1511, allocations: 1.68 MB / 338.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.1522, allocations: 1.283 MB / 340.1 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.1524, allocations: 123 kB / 340.2 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007555/0.1532, allocations: 0.6368 MB / 340.9 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004547/0.1536, allocations: 372.5 kB / 341.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.1537, allocations: 44.94 kB / 341.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.1549, allocations: 0.7329 MB / 342 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.155, allocations: 145.4 kB / 342.2 MB, free: 2.992 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.1552, allocations: 216.9 kB / 342.4 MB, free: 2.879 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.1564, allocations: 1.157 MB / 343.5 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1564, allocations: 4 kB / 343.5 MB, free: 1.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1564, allocations: 0 / 343.5 MB, free: 1.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.1564, allocations: 0 / 343.5 MB, free: 1.715 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.0008308/0.1573, allocations: 0.7126 MB / 344.2 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1573, allocations: 11.98 kB / 344.3 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.684e-05/0.1574, allocations: 78.72 kB / 344.3 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003227/0.1577, allocations: 80.56 kB / 344.4 MB, free: 0.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.1581, allocations: 285 kB / 344.7 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.1581, allocations: 29.38 kB / 344.7 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.1581, allocations: 44.33 kB / 344.8 MB, free: 428 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005286/0.1587, allocations: 0.6618 MB / 345.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1587, allocations: 8.312 kB / 345.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.1587, allocations: 23.92 kB / 345.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1587, allocations: 8 kB / 345.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.159, allocations: 303.7 kB / 345.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006527/0.1656, allocations: 4.616 MB / 350.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.1659, allocations: 256.5 kB / 350.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.166, allocations: 140.8 kB / 350.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004479/0.1705, allocations: 2.676 MB / 353.4 MB, free: 7.539 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1705, allocations: 38.5 kB / 353.5 MB, free: 7.492 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.1705, allocations: 4 kB / 353.5 MB, free: 7.488 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.006097/0.1766, allocations: 2.312 MB / 355.8 MB, free: 5.152 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.1767, allocations: 55.41 kB / 355.8 MB, free: 5.086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.1769, allocations: 316.3 kB / 356.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.1769, allocations: 41.64 kB / 356.2 MB, free: 4.723 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.177, allocations: 224.5 kB / 356.4 MB, free: 4.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.623e-05/0.1771, allocations: 166.5 kB / 356.6 MB, free: 4.336 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.071e-05/0.1772, allocations: 94.34 kB / 356.7 MB, free: 4.238 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.1773, allocations: 346.8 kB / 357 MB, free: 3.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.1775, allocations: 157.2 kB / 357.2 MB, free: 3.734 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.1777, allocations: 276.7 kB / 357.4 MB, free: 3.418 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.1781, allocations: 469.2 kB / 357.9 MB, free: 2.906 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1781, allocations: 4 kB / 357.9 MB, free: 2.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006809/0.1788, allocations: 0.5933 MB / 358.5 MB, free: 2.297 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1788, allocations: 4 kB / 358.5 MB, free: 2.293 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1789, allocations: 4 kB / 358.5 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003627/0.1825, allocations: 1.848 MB / 360.3 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.1827, allocations: 111.9 kB / 360.4 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.1842, allocations: 2.452 MB / 362.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.1843, allocations: 20.22 kB / 362.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.1844, allocations: 27.98 kB / 362.9 MB, free: 13.65 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.0001491/0.1845, allocations: 173.7 kB / 363.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.1846, allocations: 43.7 kB / 363.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000762/0.1853, allocations: 0.8691 MB / 364 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.1853, allocations: 7.984 kB / 364 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1853, allocations: 0 / 364 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00065/0.186, allocations: 0.9789 MB / 365 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.1872, allocations: 1.429 MB / 366.4 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1872, allocations: 0 / 366.4 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.1874, allocations: 75.89 kB / 366.5 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.1888, allocations: 0.6141 MB / 367.1 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.1889, allocations: 16.08 kB / 367.1 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008555/0.1897, allocations: 1.3 MB / 368.4 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1897, allocations: 0 / 368.4 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009814/0.1907, allocations: 1.255 MB / 369.7 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.1908, allocations: 43.66 kB / 369.7 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.1908, allocations: 8 kB / 369.8 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1909, allocations: 20.16 kB / 369.8 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.1909, allocations: 23.95 kB / 369.8 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.191, allocations: 23.92 kB / 369.8 MB, free: 6.535 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1911, allocations: 215.1 kB / 370 MB, free: 6.328 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1911, allocations: 0 / 370 MB, free: 6.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004736/0.1916, allocations: 235.6 kB / 370.3 MB, free: 6.098 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.001556/0.1931, allocations: 1.977 MB / 372.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007563/0.1939, allocations: 0.6691 MB / 372.9 MB, free: 3.398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1939, allocations: 8 kB / 372.9 MB, free: 3.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.1944, allocations: 428 kB / 373.3 MB, free: 2.973 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006768/0.1951, allocations: 250.9 kB / 373.6 MB, free: 2.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.1991, allocations: 4.415 MB / 378 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.1993, allocations: 237.1 kB / 378.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.1995, 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.0001394/0.1996, allocations: 156.5 kB / 378.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1996, allocations: 0 / 378.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.2283, allocations: 18.59 MB / 397 MB, free: 10.97 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.123, allocations: 7.984 kB / 397 MB, free: 10.96 MB / 362.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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.9679419035092]