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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 203.2 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3509/0.3509, allocations: 43.49 MB / 313.5 MB, free: 8.516 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1265, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4487/0.5753, allocations: 178.2 MB / 0.6036 GB, free: 9.926 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0134/0.5887, allocations: 8.414 MB / 0.6118 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.5901, allocations: 27.75 kB / 0.6119 GB, free: 1.473 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.5914, allocations: 270.5 kB / 0.6121 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005294/0.5967, allocations: 1.328 MB / 0.6134 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003381/0.6001, allocations: 1.006 MB / 0.6144 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003422/0.6035, allocations: 2.71 MB / 0.617 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.6046, allocations: 406.2 kB / 0.6174 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.608, allocations: 1.105 MB / 0.6185 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.6096, allocations: 0.6851 MB / 0.6192 GB, free: 9.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.6099, allocations: 35.94 kB / 0.6192 GB, free: 9.953 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.6123, allocations: 0.702 MB / 0.6199 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005084/0.6128, allocations: 239.2 kB / 0.6201 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008848/0.6137, allocations: 378.2 kB / 0.6205 GB, free: 8.645 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.6161, allocations: 1.391 MB / 0.6218 GB, free: 7.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6161, allocations: 0 / 0.6218 GB, free: 7.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.6161, allocations: 0 / 0.6218 GB, free: 7.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.6161, allocations: 0 / 0.6218 GB, free: 7.25 MB / 494.1 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.002455/0.6186, allocations: 1.131 MB / 0.6229 GB, free: 6.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.6186, allocations: 8.031 kB / 0.6229 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.6188, allocations: 110.4 kB / 0.6231 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008065/0.6196, allocations: 131.1 kB / 0.6232 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007907/0.6204, allocations: 0.5041 MB / 0.6237 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.6205, allocations: 116.4 kB / 0.6238 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/0.6206, allocations: 44 kB / 0.6238 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.6218, allocations: 0.8097 MB / 0.6246 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.6219, allocations: 7.938 kB / 0.6246 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/0.622, allocations: 19.98 kB / 0.6246 GB, free: 4.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.622, allocations: 48.97 kB / 0.6247 GB, free: 4.141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009969/0.623, allocations: 0.6127 MB / 0.6253 GB, free: 3.527 MB / 494.1 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.2569/0.8799, allocations: 3.981 MB / 0.6292 GB, free: 157.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/0.8805, allocations: 359.2 kB / 0.6295 GB, free: 157.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.8808, allocations: 166.4 kB / 0.6297 GB, free: 157.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003911/0.8812, allocations: 362 kB / 0.63 GB, free: 157 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.8812, allocations: 38.94 kB / 0.6301 GB, free: 156.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.786e-06/0.8812, allocations: 0 / 0.6301 GB, free: 156.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005237/0.8865, allocations: 1.668 MB / 0.6317 GB, free: 156.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.8865, allocations: 138.7 kB / 0.6318 GB, free: 156.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006528/0.8872, allocations: 0.6155 MB / 0.6324 GB, free: 156.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.8872, allocations: 35.83 kB / 0.6325 GB, free: 156.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.8875, allocations: 366.6 kB / 0.6328 GB, free: 156 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.8876, allocations: 140.7 kB / 0.6329 GB, free: 155.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.8878, allocations: 156.6 kB / 0.6331 GB, free: 155.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.8879, allocations: 385 kB / 0.6335 GB, free: 155.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.8882, allocations: 202.2 kB / 0.6336 GB, free: 155.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.8887, allocations: 0.513 MB / 0.6341 GB, free: 155.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007954/0.8895, allocations: 0.7447 MB / 0.6349 GB, free: 154.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.8895, allocations: 2.906 kB / 0.6349 GB, free: 154.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001318/0.8908, allocations: 0.8838 MB / 0.6357 GB, free: 154.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.8909, allocations: 8.312 kB / 0.6357 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.8909, allocations: 17.67 kB / 0.6358 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.8922, allocations: 315.8 kB / 0.6361 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.8926, allocations: 123.6 kB / 0.6362 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009634/0.8936, allocations: 0.9283 MB / 0.6371 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.8941, allocations: 42.33 kB / 0.6371 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.236e-05/0.8942, allocations: 69.39 kB / 0.6372 GB, free: 153.8 MB / 494.1 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.0003229/0.8946, allocations: 249.5 kB / 0.6374 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.8947, allocations: 72.47 kB / 0.6375 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.8961, allocations: 0.6863 MB / 0.6382 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.8961, allocations: 6.625 kB / 0.6382 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8961, allocations: 7 kB / 0.6382 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.8961, allocations: 2.844 kB / 0.6382 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.8981, allocations: 1.607 MB / 0.6398 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.8981, allocations: 6.969 kB / 0.6398 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009812/0.8991, allocations: 208.8 kB / 0.64 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.679e-05/0.8992, allocations: 24.83 kB / 0.64 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.8992, allocations: 16.33 kB / 0.64 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.9006, allocations: 2.688 MB / 0.6426 GB, free: 149.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9006, allocations: 0 / 0.6426 GB, free: 149.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.9017, allocations: 0.8055 MB / 0.6434 GB, free: 149.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.902, allocations: 193 kB / 0.6436 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.452e-05/0.9021, allocations: 11.22 kB / 0.6436 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.9025, allocations: 31.03 kB / 0.6436 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.074e-05/0.9026, allocations: 35.36 kB / 0.6437 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-05/0.9027, allocations: 42.12 kB / 0.6437 GB, free: 149 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004849/0.9032, allocations: 439.6 kB / 0.6441 GB, free: 148.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9032, allocations: 2.344 kB / 0.6441 GB, free: 148.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001033/0.9042, allocations: 294.5 kB / 0.6444 GB, free: 148.8 MB / 494.1 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.002112/0.9063, allocations: 1.603 MB / 0.646 GB, free: 147.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.9074, allocations: 0.5448 MB / 0.6465 GB, free: 147.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.9074, allocations: 3.25 kB / 0.6465 GB, free: 147.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000875/0.9083, allocations: 420.2 kB / 0.6469 GB, free: 147.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.9099, allocations: 353.6 kB / 0.6473 GB, free: 147.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007803/0.9177, allocations: 6.719 MB / 0.6538 GB, free: 143.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.9181, allocations: 0.9333 MB / 0.6547 GB, free: 142.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001042/0.9192, allocations: 266.8 kB / 0.655 GB, free: 142.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/0.9196, allocations: 268.4 kB / 0.6552 GB, free: 142.2 MB / 494.1 MB Notification: Performance of SimCode: time 9.61e-07/0.9196, allocations: 0 / 0.6552 GB, free: 142.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05938/0.979, allocations: 24.43 MB / 0.6791 GB, free: 136 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.9792, allocations: 299.8 kB / 0.6794 GB, free: 135.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.378, allocations: 5.5 kB / 0.6794 GB, free: 135.6 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches