Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.0009306/0.0009306, allocations: 80.53 kB / 19.92 MB, free: 4.637 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.001085/0.001085, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.9059/0.9059, allocations: 158.6 MB / 185 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1331/0.1331, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.557e-06/3.557e-06, allocations: 3.938 kB / 406.9 MB, free: 2.234 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/3.088e-05, allocations: 10.02 kB / 406.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3037/0.3038, allocations: 155.6 MB / 0.5493 GB, free: 6.922 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006516/0.3103, allocations: 7.515 MB / 0.5566 GB, free: 1.914 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007208/0.311, allocations: 30.09 kB / 0.5566 GB, free: 1.898 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008469/0.3119, allocations: 311.7 kB / 0.5569 GB, free: 1.73 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.3151, allocations: 1.556 MB / 0.5585 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.3173, allocations: 1.204 MB / 0.5596 GB, free: 292 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001882/0.3191, allocations: 1.884 MB / 0.5615 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005531/0.3197, allocations: 395.2 kB / 0.5619 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.3219, allocations: 1.501 MB / 0.5633 GB, free: 13.98 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006677/0.3226, allocations: 0.6386 MB / 0.5639 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.396e-05/0.3226, allocations: 65.28 kB / 0.564 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.3239, allocations: 0.7498 MB / 0.5647 GB, free: 13.3 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.3241, allocations: 284.7 kB / 0.565 GB, free: 13.11 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.3243, allocations: 291.6 kB / 0.5653 GB, free: 12.97 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.3258, allocations: 1.526 MB / 0.5668 GB, free: 11.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3258, allocations: 2.938 kB / 0.5668 GB, free: 11.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3258, allocations: 0 / 0.5668 GB, free: 11.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3258, allocations: 3.938 kB / 0.5668 GB, free: 11.98 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001566/0.3274, allocations: 1.07 MB / 0.5678 GB, free: 11.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3274, allocations: 10.69 kB / 0.5678 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.31e-05/0.3275, allocations: 95.48 kB / 0.5679 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/0.328, allocations: 143.6 kB / 0.5681 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006044/0.3286, allocations: 477.3 kB / 0.5685 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.3287, allocations: 157.4 kB / 0.5687 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.837e-05/0.3288, allocations: 55.75 kB / 0.5687 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009331/0.3297, allocations: 1.162 MB / 0.5699 GB, free: 9.488 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.3297, allocations: 6.125 kB / 0.5699 GB, free: 9.484 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.052e-05/0.3298, allocations: 28.33 kB / 0.5699 GB, free: 9.465 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.3298, allocations: 43.41 kB / 0.5699 GB, free: 9.449 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006584/0.3305, allocations: 0.6097 MB / 0.5705 GB, free: 9.152 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.3331, allocations: 3.312 MB / 0.5738 GB, free: 6.379 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.3334, allocations: 342.3 kB / 0.5741 GB, free: 6.195 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.3336, allocations: 154.9 kB / 0.5742 GB, free: 6.117 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.3339, allocations: 140.3 kB / 0.5744 GB, free: 6.059 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.3339, allocations: 43.41 kB / 0.5744 GB, free: 6.016 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 2.425e-06/0.3339, allocations: 4 kB / 0.5744 GB, free: 6.012 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.003129/0.337, allocations: 1.584 MB / 0.576 GB, free: 5.078 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.3371, allocations: 133.7 kB / 0.5761 GB, free: 4.922 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.3376, allocations: 0.6338 MB / 0.5767 GB, free: 4.543 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.3376, allocations: 37.42 kB / 0.5768 GB, free: 4.504 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.3378, allocations: 379.7 kB / 0.5771 GB, free: 4.164 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/0.3379, allocations: 141.2 kB / 0.5772 GB, free: 4.043 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.338, allocations: 154.9 kB / 0.5774 GB, free: 3.957 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3381, allocations: 378.6 kB / 0.5778 GB, free: 3.594 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.3384, allocations: 208.8 kB / 0.578 GB, free: 3.496 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.3388, allocations: 0.5923 MB / 0.5785 GB, free: 2.773 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000625/0.3394, allocations: 0.7526 MB / 0.5793 GB, free: 1.883 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3394, allocations: 4.5 kB / 0.5793 GB, free: 1.879 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009535/0.3404, allocations: 0.865 MB / 0.5801 GB, free: 1.004 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3404, allocations: 12.03 kB / 0.5801 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3404, allocations: 12 kB / 0.5801 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008114/0.3412, allocations: 323.9 kB / 0.5805 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.3414, allocations: 129.8 kB / 0.5806 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007406/0.3422, allocations: 0.9231 MB / 0.5815 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.3425, allocations: 31.94 kB / 0.5815 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/0.3426, allocations: 67.98 kB / 0.5816 GB, free: 15.49 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002782/0.3428, allocations: 243.8 kB / 0.5818 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.161e-05/0.3429, allocations: 75.52 kB / 0.5819 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008793/0.3438, allocations: 0.6827 MB / 0.5825 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3438, allocations: 7.984 kB / 0.5826 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3438, allocations: 1.875 kB / 0.5826 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3438, allocations: 0 / 0.5826 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.3452, allocations: 1.215 MB / 0.5837 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3452, allocations: 0 / 0.5837 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.3458, allocations: 207.8 kB / 0.5839 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.849e-05/0.3458, allocations: 28.91 kB / 0.584 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.3459, allocations: 23.94 kB / 0.584 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.3473, allocations: 2.666 MB / 0.5866 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3473, allocations: 0 / 0.5866 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008063/0.3481, allocations: 0.8092 MB / 0.5874 GB, free: 9.195 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.3483, allocations: 119.5 kB / 0.5875 GB, free: 9.078 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.3483, allocations: 8 kB / 0.5875 GB, free: 9.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.3486, allocations: 23.92 kB / 0.5875 GB, free: 9.047 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.3486, allocations: 43.73 kB / 0.5876 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.3487, allocations: 43.98 kB / 0.5876 GB, free: 8.961 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003576/0.349, allocations: 439 kB / 0.588 GB, free: 8.535 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.349, allocations: 8.094 kB / 0.588 GB, free: 8.527 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006965/0.3497, allocations: 295.6 kB / 0.5883 GB, free: 8.238 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001582/0.3513, allocations: 1.627 MB / 0.5899 GB, free: 6.578 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007266/0.352, allocations: 0.5236 MB / 0.5904 GB, free: 6.059 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.352, allocations: 4.5 kB / 0.5904 GB, free: 6.055 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005597/0.3526, allocations: 414.3 kB / 0.5908 GB, free: 5.637 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009526/0.3535, allocations: 373 kB / 0.5912 GB, free: 5.301 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006047/0.3596, allocations: 6.223 MB / 0.5972 GB, free: 14.67 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.3598, allocations: 332.7 kB / 0.5976 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006141/0.3604, allocations: 265.7 kB / 0.5978 GB, free: 14.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.3607, allocations: 276.4 kB / 0.5981 GB, free: 13.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.503e-06/0.3608, allocations: 0 / 0.5981 GB, free: 13.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04368/0.4044, allocations: 26.8 MB / 0.6243 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.819/9.223, allocations: 7.969 kB / 0.6243 GB, free: 2.949 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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: 11.400589569471776]