Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001217, allocations: 108.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 187.9 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2112/0.2112, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.363, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2248/0.5879, allocations: 174.4 MB / 0.6887 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.5987, allocations: 5.334 MB / 0.6939 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.5998, allocations: 23.88 kB / 0.6939 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.6014, allocations: 318 kB / 0.6942 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005634/0.607, allocations: 1.246 MB / 0.6955 GB, free: 6.184 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003913/0.611, allocations: 0.9695 MB / 0.6964 GB, free: 5.219 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003515/0.6145, allocations: 1.841 MB / 0.6982 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.6155, allocations: 469.3 kB / 0.6986 GB, free: 2.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003326/0.6189, allocations: 1.07 MB / 0.6997 GB, free: 1.836 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.6203, allocations: 0.6579 MB / 0.7003 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.6205, allocations: 64 kB / 0.7004 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.6225, allocations: 0.6164 MB / 0.701 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004189/0.623, allocations: 271.2 kB / 0.7013 GB, free: 236 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008374/0.6238, allocations: 390.2 kB / 0.7016 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.6269, allocations: 1.297 MB / 0.7029 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.627, allocations: 0 / 0.7029 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.657e-06/0.627, allocations: 4 kB / 0.7029 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.643e-05/0.627, allocations: 3.938 kB / 0.7029 GB, free: 14.54 MB / 0.5606 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.003901/0.6309, allocations: 1.106 MB / 0.704 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.631, allocations: 8.031 kB / 0.704 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002645/0.6313, allocations: 98.5 kB / 0.7041 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.6327, allocations: 135.1 kB / 0.7042 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.6342, allocations: 0.5314 MB / 0.7047 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.6344, allocations: 104.4 kB / 0.7048 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.6345, allocations: 47.94 kB / 0.7049 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.6365, allocations: 0.8174 MB / 0.7057 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.6365, allocations: 7.984 kB / 0.7057 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.6366, allocations: 20 kB / 0.7057 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-05/0.6367, allocations: 48.92 kB / 0.7058 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.6384, allocations: 0.6243 MB / 0.7064 GB, free: 10.8 MB / 0.5606 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.007086/0.6455, allocations: 3.949 MB / 0.7102 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000932/0.6464, allocations: 363.5 kB / 0.7106 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.6469, allocations: 169.3 kB / 0.7107 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.647, allocations: 89.38 kB / 0.7108 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/0.6471, allocations: 50.78 kB / 0.7109 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.647e-06/0.6471, allocations: 0 / 0.7109 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.008385/0.6555, allocations: 1.657 MB / 0.7125 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.6557, allocations: 144.5 kB / 0.7126 GB, free: 4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.6569, allocations: 0.6133 MB / 0.7132 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.657, allocations: 37.7 kB / 0.7133 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004125/0.6574, allocations: 362.8 kB / 0.7136 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.6576, allocations: 142 kB / 0.7137 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.658, allocations: 162.5 kB / 0.7139 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002366/0.6582, allocations: 370.8 kB / 0.7142 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.6588, allocations: 205.9 kB / 0.7144 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008787/0.6597, allocations: 0.5163 MB / 0.7149 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.6613, allocations: 0.7513 MB / 0.7157 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.6613, allocations: 4 kB / 0.7157 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2863/0.9476, allocations: 0.8778 MB / 0.7165 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.9477, allocations: 9.984 kB / 0.7165 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.9477, allocations: 10.03 kB / 0.7166 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.9494, allocations: 314.9 kB / 0.7169 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.9499, allocations: 126.3 kB / 0.717 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.9511, allocations: 0.9273 MB / 0.7179 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/0.9517, allocations: 28.61 kB / 0.7179 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.9519, allocations: 66.36 kB / 0.718 GB, free: 189 MB / 0.5606 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.0004309/0.9523, allocations: 248 kB / 0.7182 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.9525, allocations: 68.41 kB / 0.7183 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/0.9544, allocations: 0.8608 MB / 0.7191 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.9544, allocations: 4.625 kB / 0.7191 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.9544, allocations: 7.344 kB / 0.7191 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.9544, allocations: 1.922 kB / 0.7191 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.9567, allocations: 1.456 MB / 0.7205 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.9567, allocations: 1.656 kB / 0.7206 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.9578, allocations: 212.6 kB / 0.7208 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.958, allocations: 27.17 kB / 0.7208 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.958, allocations: 21.88 kB / 0.7208 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.9597, allocations: 2.877 MB / 0.7236 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.9598, allocations: 2.562 kB / 0.7236 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.9611, allocations: 0.8321 MB / 0.7244 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.9614, allocations: 193.7 kB / 0.7246 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.428e-05/0.9615, allocations: 8.75 kB / 0.7246 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.9619, allocations: 20.23 kB / 0.7246 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.962, allocations: 38.47 kB / 0.7247 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.819e-05/0.9621, allocations: 42.44 kB / 0.7247 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000563/0.9626, allocations: 443.2 kB / 0.7251 GB, free: 184 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9626, allocations: 1.25 kB / 0.7251 GB, free: 184 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001003/0.9637, allocations: 254.8 kB / 0.7254 GB, free: 184 MB / 0.5606 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.002073/0.9657, allocations: 1.557 MB / 0.7269 GB, free: 183 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.967, allocations: 0.5493 MB / 0.7274 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.967, allocations: 1 kB / 0.7274 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009716/0.968, allocations: 423.6 kB / 0.7278 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.9697, allocations: 362.3 kB / 0.7282 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007997/0.9777, allocations: 6.319 MB / 0.7344 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.9782, allocations: 0.9328 MB / 0.7353 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00123/0.9795, allocations: 463.2 kB / 0.7357 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/0.9799, allocations: 284 kB / 0.736 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/0.9799, allocations: 0 / 0.736 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04899/1.029, allocations: 24.7 MB / 0.7601 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.88, allocations: 8.469 kB / 0.7601 GB, free: 156.3 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches