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.001499/0.001499, allocations: 101.1 kB / 16.27 MB, free: 5.863 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.001814/0.001814, allocations: 192.7 kB / 17.2 MB, free: 5.508 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.517/1.517, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2443/0.2443, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001564/0.001564, allocations: 66.12 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08542/0.087, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4107/0.4977, allocations: 179.7 MB / 0.6058 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009135/0.5068, allocations: 8.186 MB / 0.6138 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00064/0.5075, allocations: 24.06 kB / 0.6138 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008992/0.5085, allocations: 312.9 kB / 0.6141 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003602/0.5121, allocations: 1.479 MB / 0.6155 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.5148, allocations: 1.152 MB / 0.6167 GB, free: 1.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002041/0.5168, allocations: 1.853 MB / 0.6185 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007075/0.5176, allocations: 458.8 kB / 0.6189 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.5201, allocations: 1.222 MB / 0.6201 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.5212, allocations: 0.6574 MB / 0.6207 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002256/0.5214, allocations: 63.73 kB / 0.6208 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.5232, allocations: 0.7379 MB / 0.6215 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.5236, allocations: 258.4 kB / 0.6218 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006089/0.5242, allocations: 400.9 kB / 0.6222 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.5263, allocations: 1.416 MB / 0.6235 GB, free: 13.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5264, allocations: 0 / 0.6235 GB, free: 13.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5264, allocations: 0 / 0.6235 GB, free: 13.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.938e-05/0.5264, allocations: 4 kB / 0.6235 GB, free: 13.43 MB / 446.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.002858/0.5293, allocations: 1.134 MB / 0.6247 GB, free: 12.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.5293, allocations: 11.89 kB / 0.6247 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.5295, allocations: 98.5 kB / 0.6248 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008831/0.5304, allocations: 135.1 kB / 0.6249 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008178/0.5312, allocations: 0.5079 MB / 0.6254 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.5313, allocations: 100.4 kB / 0.6255 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.608e-05/0.5314, allocations: 48 kB / 0.6255 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.5326, allocations: 0.8213 MB / 0.6263 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.5326, allocations: 0 / 0.6263 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/0.5327, allocations: 27.98 kB / 0.6264 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.631e-05/0.5328, allocations: 32.98 kB / 0.6264 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.5338, allocations: 0.6321 MB / 0.627 GB, free: 9.699 MB / 446.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.004363/0.5382, allocations: 3.981 MB / 0.6309 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/0.5388, allocations: 348.8 kB / 0.6312 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.539, allocations: 177.3 kB / 0.6314 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003875/0.5394, allocations: 361.5 kB / 0.6317 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.5395, allocations: 34.84 kB / 0.6318 GB, free: 4.492 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.694e-06/0.5395, allocations: 11.88 kB / 0.6318 GB, free: 4.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005409/0.5449, allocations: 1.666 MB / 0.6334 GB, free: 2.742 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.545, allocations: 140.4 kB / 0.6335 GB, free: 2.574 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007153/0.5457, allocations: 0.6132 MB / 0.6341 GB, free: 1.953 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.5458, allocations: 41.64 kB / 0.6342 GB, free: 1.906 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.546, allocations: 363 kB / 0.6345 GB, free: 1.547 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.5461, allocations: 145.9 kB / 0.6347 GB, free: 1.402 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.5464, allocations: 154.5 kB / 0.6348 GB, free: 1.246 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5465, allocations: 382.8 kB / 0.6352 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.5469, allocations: 197.9 kB / 0.6354 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.5475, allocations: 0.5125 MB / 0.6359 GB, free: 12 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.5485, allocations: 0.7526 MB / 0.6366 GB, free: 15.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.5485, allocations: 4 kB / 0.6366 GB, free: 15.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001455/0.55, allocations: 0.8756 MB / 0.6375 GB, free: 14.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.55, allocations: 8 kB / 0.6375 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.55, allocations: 12.84 kB / 0.6375 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.5514, allocations: 323.6 kB / 0.6378 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.5519, allocations: 123.7 kB / 0.6379 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.5532, allocations: 0.9308 MB / 0.6388 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/0.5539, allocations: 31.98 kB / 0.6388 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.554, allocations: 64 kB / 0.6389 GB, free: 12.72 MB / 462.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.000533/0.5546, allocations: 254.3 kB / 0.6391 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.5548, allocations: 67.25 kB / 0.6392 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.5565, allocations: 0.6886 MB / 0.6399 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5565, allocations: 4 kB / 0.6399 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.5565, allocations: 0 / 0.6399 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.5565, allocations: 3.984 kB / 0.6399 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.559, allocations: 1.602 MB / 0.6415 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.559, allocations: 0 / 0.6415 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.5601, allocations: 215.7 kB / 0.6417 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001035/0.5602, allocations: 24.97 kB / 0.6417 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.5603, allocations: 19.98 kB / 0.6417 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.5624, allocations: 2.877 MB / 0.6445 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.5625, allocations: 11.97 kB / 0.6445 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.5637, allocations: 0.7994 MB / 0.6453 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.564, allocations: 192.2 kB / 0.6455 GB, free: 5.473 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.5642, allocations: 12 kB / 0.6455 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.5646, allocations: 20.05 kB / 0.6455 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/0.5647, allocations: 31.97 kB / 0.6456 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.901e-05/0.5648, allocations: 51.91 kB / 0.6456 GB, free: 5.359 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005634/0.5654, allocations: 439 kB / 0.646 GB, free: 4.934 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5654, allocations: 0 / 0.646 GB, free: 4.934 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009477/0.5663, allocations: 291.9 kB / 0.6463 GB, free: 4.648 MB / 462.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.002169/0.5685, allocations: 1.601 MB / 0.6479 GB, free: 3.012 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.5698, allocations: 0.6137 MB / 0.6485 GB, free: 2.398 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.5698, allocations: 7.797 kB / 0.6485 GB, free: 2.391 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009368/0.5707, allocations: 414.9 kB / 0.6489 GB, free: 1.973 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.5723, allocations: 373.2 kB / 0.6492 GB, free: 1.613 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008168/0.5805, allocations: 6.517 MB / 0.6556 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.5811, allocations: 0.9261 MB / 0.6565 GB, free: 9.754 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001071/0.5822, allocations: 262 kB / 0.6567 GB, free: 9.496 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/0.5827, allocations: 271.3 kB / 0.657 GB, free: 9.23 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5827, allocations: 0 / 0.657 GB, free: 9.23 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05123/0.6339, allocations: 25.16 MB / 0.6816 GB, free: 64 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.97, allocations: 15.64 kB / 0.6816 GB, free: 48 kB / 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches