Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0007778/0.0007778, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009947/0.0009947, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9123/0.9123, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2621/0.2621, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.788e-05, allocations: 2.281 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3178/0.3178, allocations: 153.8 MB / 0.582 GB, free: 6.738 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004849/0.3227, allocations: 4.91 MB / 0.5868 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.323, allocations: 31.75 kB / 0.5869 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.3236, allocations: 317.8 kB / 0.5872 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.3262, allocations: 1.311 MB / 0.5884 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.328, allocations: 1.014 MB / 0.5894 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.3298, allocations: 1.879 MB / 0.5913 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005552/0.3303, allocations: 400.4 kB / 0.5917 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.3322, allocations: 1.351 MB / 0.593 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008496/0.333, allocations: 0.6389 MB / 0.5936 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.3331, allocations: 60 kB / 0.5937 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008372/0.334, allocations: 0.5534 MB / 0.5942 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.3342, allocations: 291.1 kB / 0.5945 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.3344, allocations: 283.4 kB / 0.5947 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.3358, allocations: 1.391 MB / 0.5961 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3358, allocations: 0 / 0.5961 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3358, allocations: 0 / 0.5961 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.3358, allocations: 0 / 0.5961 GB, free: 8.312 MB / 0.4948 GB 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.001436/0.3372, allocations: 1.039 MB / 0.5971 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3373, allocations: 12.03 kB / 0.5971 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.269e-05/0.3374, allocations: 98.5 kB / 0.5972 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004303/0.3378, allocations: 135.5 kB / 0.5974 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006015/0.3384, allocations: 485.3 kB / 0.5978 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.3385, allocations: 155.8 kB / 0.598 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.3386, allocations: 48 kB / 0.598 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008981/0.3395, allocations: 1.14 MB / 0.5991 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.3395, allocations: 0 / 0.5991 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.3395, allocations: 24 kB / 0.5991 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.3396, allocations: 48.3 kB / 0.5992 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/0.3402, allocations: 0.6166 MB / 0.5998 GB, free: 4.281 MB / 0.4948 GB 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.002524/0.3427, allocations: 3.301 MB / 0.603 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.3431, allocations: 346.2 kB / 0.6033 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.3433, allocations: 163.7 kB / 0.6035 GB, free: 372 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.294e-05/0.3433, allocations: 16.27 kB / 0.6035 GB, free: 356 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.3434, allocations: 38.84 kB / 0.6036 GB, free: 308 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.452e-06/0.3434, allocations: 0 / 0.6036 GB, free: 308 kB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.002902/0.3463, allocations: 1.601 MB / 0.6051 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.3463, allocations: 132.5 kB / 0.6052 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.3468, allocations: 0.6326 MB / 0.6059 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.3468, allocations: 41.69 kB / 0.6059 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.347, allocations: 367.8 kB / 0.6063 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/0.3471, allocations: 142.8 kB / 0.6064 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.3472, allocations: 158.6 kB / 0.6065 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3473, allocations: 374.8 kB / 0.6069 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.3475, allocations: 201.9 kB / 0.6071 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.3479, allocations: 0.5997 MB / 0.6077 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/0.3485, allocations: 0.7477 MB / 0.6084 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3485, allocations: 0 / 0.6084 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00088/0.3494, allocations: 0.8876 MB / 0.6093 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3494, allocations: 8 kB / 0.6093 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3494, allocations: 8 kB / 0.6093 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006859/0.3501, allocations: 319.7 kB / 0.6096 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.3503, allocations: 119.8 kB / 0.6097 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000683/0.351, allocations: 0.9409 MB / 0.6106 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.3512, allocations: 24 kB / 0.6106 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.3513, allocations: 69.48 kB / 0.6107 GB, free: 8.516 MB / 0.5105 GB 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.0002081/0.3515, allocations: 249.5 kB / 0.611 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.3516, allocations: 71.52 kB / 0.611 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009479/0.3525, allocations: 0.87 MB / 0.6119 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3525, allocations: 4 kB / 0.6119 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3525, allocations: 3.938 kB / 0.6119 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3525, allocations: 0 / 0.6119 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.3537, allocations: 1.129 MB / 0.613 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3537, allocations: 7.938 kB / 0.613 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.3542, allocations: 211.9 kB / 0.6132 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.658e-05/0.3542, allocations: 28.83 kB / 0.6132 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.3543, allocations: 23.98 kB / 0.6132 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.3555, allocations: 2.66 MB / 0.6158 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3555, allocations: 0 / 0.6158 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007852/0.3563, allocations: 0.82 MB / 0.6166 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.3564, allocations: 115.5 kB / 0.6168 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.3565, allocations: 8.312 kB / 0.6168 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.3567, allocations: 21.05 kB / 0.6168 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.3567, allocations: 51.81 kB / 0.6168 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.3568, allocations: 39.98 kB / 0.6169 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003477/0.3571, allocations: 439 kB / 0.6173 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3571, allocations: 0 / 0.6173 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005335/0.3577, allocations: 255.7 kB / 0.6175 GB, free: 1.184 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.001417/0.3591, allocations: 1.553 MB / 0.619 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007041/0.3598, allocations: 0.5314 MB / 0.6196 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3598, allocations: 0 / 0.6196 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000576/0.3604, allocations: 410.8 kB / 0.62 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000926/0.3613, allocations: 372 kB / 0.6203 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005521/0.3668, allocations: 6.26 MB / 0.6264 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.3671, allocations: 336.7 kB / 0.6267 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006157/0.3677, allocations: 455.1 kB / 0.6272 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.368, allocations: 292.4 kB / 0.6275 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of SimCode: time 5.51e-07/0.368, allocations: 0 / 0.6275 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2007/0.5687, allocations: 25.68 MB / 0.6525 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.317/8.886, allocations: 11.03 kB / 0.6525 GB, free: 162.5 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.037138363346457]