Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.0007824/0.0007824, 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.003124/0.003124, allocations: 165.8 kB / 24.7 MB, free: 8.887 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.8904/0.8904, 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.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.239e-05, allocations: 2.281 kB / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1549/0.1549, allocations: 24.39 MB / 322.8 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003234/0.1581, allocations: 3.757 MB / 326.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.1583, allocations: 11.19 kB / 326.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005817/0.1589, allocations: 192.7 kB / 326.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005851/0.1594, allocations: 358.4 kB / 327.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.1632, allocations: 1.484 MB / 328.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.1642, allocations: 0.8964 MB / 329.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.1644, allocations: 66.48 kB / 329.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004758/0.1692, allocations: 4.284 MB / 333.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.1695, allocations: 254.4 kB / 334.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.1696, allocations: 29.84 kB / 334.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.1707, allocations: 0.6979 MB / 334.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.1708, allocations: 97.55 kB / 334.9 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.171, allocations: 155.8 kB / 335.1 MB, free: 9.578 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.1723, allocations: 0.9575 MB / 336.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1723, allocations: 5.375 kB / 336.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1723, allocations: 0 / 336.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1723, allocations: 0 / 336.1 MB, free: 8.934 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000873/0.1731, allocations: 0.5796 MB / 336.6 MB, free: 8.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1732, allocations: 13.58 kB / 336.7 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.531e-05/0.1733, allocations: 62.92 kB / 336.7 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.1735, allocations: 61.72 kB / 336.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.1739, allocations: 236 kB / 337 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.1739, allocations: 20.12 kB / 337 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.174, allocations: 26.44 kB / 337.1 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.1745, allocations: 496.4 kB / 337.5 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1745, allocations: 4.312 kB / 337.5 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.1745, allocations: 15.94 kB / 337.6 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1745, allocations: 8 kB / 337.6 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.1748, allocations: 209.8 kB / 337.8 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006049/0.1808, allocations: 4.135 MB / 341.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.1811, allocations: 174.5 kB / 342.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.382e-05/0.1812, allocations: 84.83 kB / 342.2 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004317/0.1855, allocations: 2.672 MB / 344.8 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1855, allocations: 42.55 kB / 344.9 MB, free: 144 kB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.1855, allocations: 0 / 344.9 MB, free: 144 kB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.003195/0.1887, allocations: 1.263 MB / 346.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.1887, allocations: 55.41 kB / 346.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1889, allocations: 261.8 kB / 346.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1889, allocations: 37.7 kB / 346.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.274e-05/0.189, allocations: 192.4 kB / 346.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.1891, allocations: 95.17 kB / 346.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.1891, allocations: 65.69 kB / 346.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.1892, allocations: 338.8 kB / 347.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.1893, allocations: 87.75 kB / 347.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.1895, allocations: 202.8 kB / 347.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.1897, allocations: 295 kB / 347.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1897, allocations: 0 / 347.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004187/0.1902, allocations: 407.6 kB / 348.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1902, allocations: 8 kB / 348.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1902, allocations: 4 kB / 348.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/0.1921, allocations: 0.938 MB / 349.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1922, allocations: 67.91 kB / 349.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.1932, allocations: 1.871 MB / 351 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.098e-05/0.1933, allocations: 12 kB / 351 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.1933, allocations: 12 kB / 351 MB, free: 9.656 MB / 314.7 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.0001125/0.1934, allocations: 161.9 kB / 351.2 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.1935, allocations: 29.67 kB / 351.2 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.1939, allocations: 0.4948 MB / 351.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.194, allocations: 0 / 351.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.194, allocations: 4 kB / 351.7 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004298/0.1944, allocations: 0.7238 MB / 352.4 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007787/0.1952, allocations: 0.8825 MB / 353.3 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1952, allocations: 4 kB / 353.3 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.643e-05/0.1953, allocations: 39.92 kB / 353.4 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007541/0.196, allocations: 332.3 kB / 353.7 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.196, allocations: 8 kB / 353.7 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000322/0.1964, allocations: 0.646 MB / 354.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1964, allocations: 0 / 354.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005876/0.1969, allocations: 0.7338 MB / 355.1 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.197, allocations: 35.86 kB / 355.1 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.197, allocations: 11.44 kB / 355.1 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.1971, allocations: 8 kB / 355.1 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.1971, allocations: 19.91 kB / 355.2 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1971, allocations: 11.98 kB / 355.2 MB, free: 5.312 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.1972, allocations: 185.2 kB / 355.4 MB, free: 5.133 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1972, allocations: 0 / 355.4 MB, free: 5.133 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000424/0.1977, allocations: 183.7 kB / 355.5 MB, free: 4.953 MB / 314.7 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.001133/0.1988, allocations: 1.457 MB / 357 MB, free: 3.461 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004961/0.1993, allocations: 430.4 kB / 357.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1993, allocations: 0.75 kB / 357.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.1996, allocations: 231.8 kB / 357.6 MB, free: 2.801 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.2001, allocations: 173.8 kB / 357.8 MB, free: 2.633 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.2029, allocations: 3.271 MB / 361.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.203, allocations: 172.3 kB / 361.2 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.2032, allocations: 54.92 kB / 361.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.2033, allocations: 104.5 kB / 361.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of SimCode: time 4e-07/0.2033, allocations: 4 kB / 361.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.2293, allocations: 14.52 MB / 375.9 MB, free: 268 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.118, allocations: 4 kB / 375.9 MB, free: 264 kB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.277479623444378]