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.0008379/0.0008379, allocations: 79.7 kB / 21.43 MB, free: 3.129 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.004367/0.004367, allocations: 167.7 kB / 24.7 MB, free: 9.422 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.8555/0.8555, 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.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.633e-06/1.633e-06, allocations: 0 / 298.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.635e-05, allocations: 2.281 kB / 298.4 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1384/0.1385, allocations: 24.39 MB / 322.8 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.1417, allocations: 3.753 MB / 326.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.1419, allocations: 7.969 kB / 326.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.1425, allocations: 199.2 kB / 326.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006416/0.1432, allocations: 359.5 kB / 327.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004316/0.1475, allocations: 1.494 MB / 328.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009823/0.1485, allocations: 0.8965 MB / 329.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.1487, allocations: 70.05 kB / 329.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004726/0.1534, allocations: 4.281 MB / 333.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.1537, allocations: 257.3 kB / 334.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.1537, allocations: 29.59 kB / 334.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.1548, allocations: 0.6979 MB / 334.9 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1549, allocations: 98.53 kB / 335 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1551, allocations: 143.7 kB / 335.1 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.1562, allocations: 0.9644 MB / 336.1 MB, free: 8.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1562, allocations: 5.281 kB / 336.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.1562, allocations: 0 / 336.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1562, allocations: 0 / 336.1 MB, free: 8.977 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.0008359/0.1571, allocations: 0.578 MB / 336.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1571, allocations: 14.89 kB / 336.7 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.603e-05/0.1572, allocations: 66.97 kB / 336.7 MB, free: 8.422 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.1574, allocations: 53.73 kB / 336.8 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.1578, allocations: 232.3 kB / 337 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1578, allocations: 20.03 kB / 337 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.1579, allocations: 30.25 kB / 337.1 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.1583, allocations: 491.6 kB / 337.5 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1583, allocations: 384 / 337.5 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.1583, allocations: 15.94 kB / 337.5 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1583, allocations: 11.94 kB / 337.6 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.1585, allocations: 209.7 kB / 337.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005915/0.1644, allocations: 4.141 MB / 341.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.1647, allocations: 172.5 kB / 342.1 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.579e-05/0.1648, allocations: 76.84 kB / 342.2 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004295/0.1691, allocations: 2.688 MB / 344.8 MB, free: 256 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1691, allocations: 30.56 kB / 344.9 MB, free: 216 kB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/0.1691, allocations: 0 / 344.9 MB, free: 216 kB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.003207/0.1723, allocations: 1.269 MB / 346.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.1724, allocations: 59.39 kB / 346.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1725, allocations: 261.8 kB / 346.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1726, allocations: 29.7 kB / 346.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.361e-05/0.1727, allocations: 188.4 kB / 346.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.1727, allocations: 103.2 kB / 346.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.727e-05/0.1728, allocations: 69.69 kB / 346.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.1729, allocations: 334.8 kB / 347.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.173, allocations: 95.75 kB / 347.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.1731, allocations: 182.9 kB / 347.4 MB, free: 13.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.1734, allocations: 310.9 kB / 347.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1734, allocations: 0 / 347.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004394/0.1738, allocations: 411.8 kB / 348.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1738, allocations: 4 kB / 348.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1738, allocations: 4 kB / 348.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/0.1757, allocations: 0.9262 MB / 349.1 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1758, allocations: 71.91 kB / 349.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.1768, allocations: 1.87 MB / 351 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.177, allocations: 8.031 kB / 351 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.177, allocations: 19.98 kB / 351 MB, free: 9.723 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.0001153/0.1771, allocations: 153.8 kB / 351.2 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.1771, allocations: 27.8 kB / 351.2 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/0.1776, allocations: 0.4986 MB / 351.7 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1776, allocations: 8.062 kB / 351.7 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.1776, allocations: 0 / 351.7 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004273/0.178, allocations: 0.7199 MB / 352.4 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007942/0.1788, allocations: 0.8902 MB / 353.3 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1788, allocations: 0 / 353.3 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.917e-05/0.1789, allocations: 47.97 kB / 353.4 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007395/0.1797, allocations: 320.4 kB / 353.7 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1797, allocations: 11.98 kB / 353.7 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003155/0.18, allocations: 0.6538 MB / 354.4 MB, free: 6.215 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.18, allocations: 0 / 354.4 MB, free: 6.215 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.1806, allocations: 0.7338 MB / 355.1 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.1806, allocations: 27.78 kB / 355.1 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.1806, allocations: 11.94 kB / 355.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/0.1807, allocations: 4 kB / 355.1 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.1808, allocations: 28.02 kB / 355.2 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1808, allocations: 12 kB / 355.2 MB, free: 5.371 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1809, allocations: 181.2 kB / 355.4 MB, free: 5.195 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1809, allocations: 4 kB / 355.4 MB, free: 5.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004968/0.1814, allocations: 187.7 kB / 355.5 MB, free: 5.008 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.001172/0.1826, allocations: 1.445 MB / 357 MB, free: 3.531 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006243/0.1832, allocations: 438.5 kB / 357.4 MB, free: 3.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1832, allocations: 4 kB / 357.4 MB, free: 3.086 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.1835, allocations: 224.5 kB / 357.6 MB, free: 2.867 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.184, allocations: 169.8 kB / 357.8 MB, free: 2.703 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.187, allocations: 3.265 MB / 361.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.1871, allocations: 176.2 kB / 361.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.1873, allocations: 46.94 kB / 361.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.1874, allocations: 104.5 kB / 361.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1874, allocations: 3.938 kB / 361.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.2157, allocations: 14.54 MB / 375.9 MB, free: 328 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/8.006, allocations: 8.016 kB / 375.9 MB, free: 320 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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.349578600376844]