Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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.001323/0.001323, allocations: 111 kB / 17.32 MB, free: 6.008 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.001146/0.001146, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.288/1.288, allocations: 222.9 MB / 241.9 MB, free: 13.67 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.2134/0.2134, allocations: 44.17 MB / 336.2 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 68.97 kB / 408 MB, free: 27.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09611/0.09733, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3924/0.4898, allocations: 146.1 MB / 0.6005 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00725/0.4971, allocations: 5.655 MB / 0.606 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008489/0.498, allocations: 31.75 kB / 0.6061 GB, free: 9.254 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.4991, allocations: 286.5 kB / 0.6064 GB, free: 8.973 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.501, allocations: 0.8127 MB / 0.6071 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.5038, allocations: 0.951 MB / 0.6081 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002132/0.5059, allocations: 1.809 MB / 0.6098 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006502/0.5066, allocations: 462.9 kB / 0.6103 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.5079, allocations: 0.7552 MB / 0.611 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.509, allocations: 0.7397 MB / 0.6117 GB, free: 3.445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.5092, allocations: 64 kB / 0.6118 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.5105, allocations: 0.5535 MB / 0.6123 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002995/0.5108, allocations: 259.3 kB / 0.6126 GB, free: 2.574 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004692/0.5113, allocations: 410.2 kB / 0.613 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.5128, allocations: 1.122 MB / 0.6141 GB, free: 1.047 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5128, allocations: 7.938 kB / 0.6141 GB, free: 1.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5129, allocations: 0 / 0.6141 GB, free: 1.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.5129, allocations: 4 kB / 0.6141 GB, free: 1.035 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.002103/0.515, allocations: 1.056 MB / 0.6151 GB, free: 15.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.515, allocations: 12.03 kB / 0.6151 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.5152, allocations: 94.7 kB / 0.6152 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.5156, allocations: 99.95 kB / 0.6153 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007841/0.5164, allocations: 0.5093 MB / 0.6158 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.5165, allocations: 101 kB / 0.6159 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-05/0.5166, allocations: 52.36 kB / 0.616 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.5179, allocations: 0.811 MB / 0.6168 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.5179, allocations: 11.84 kB / 0.6168 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.344e-05/0.518, allocations: 27.98 kB / 0.6168 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.5181, allocations: 40.97 kB / 0.6168 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.5191, allocations: 0.6478 MB / 0.6175 GB, free: 13.4 MB / 462.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.004839/0.524, allocations: 3.951 MB / 0.6213 GB, free: 9.164 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008261/0.5248, allocations: 428.2 kB / 0.6217 GB, free: 8.734 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.5252, allocations: 208.4 kB / 0.6219 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006957/0.5259, allocations: 0.7327 MB / 0.6226 GB, free: 7.633 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.5259, allocations: 39.22 kB / 0.6227 GB, free: 7.586 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/0.5259, allocations: 3.938 kB / 0.6227 GB, free: 7.582 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003454/0.5294, allocations: 1.549 MB / 0.6242 GB, free: 5.961 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/0.5295, allocations: 136.5 kB / 0.6243 GB, free: 5.797 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/0.5302, allocations: 0.5693 MB / 0.6249 GB, free: 5.219 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/0.5303, allocations: 37.7 kB / 0.6249 GB, free: 5.176 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.5305, allocations: 350.9 kB / 0.6253 GB, free: 4.828 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.5306, allocations: 161.8 kB / 0.6254 GB, free: 4.668 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.5309, allocations: 142.5 kB / 0.6255 GB, free: 4.523 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.531, allocations: 378.7 kB / 0.6259 GB, free: 4.145 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.5314, allocations: 217.9 kB / 0.6261 GB, free: 3.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/0.532, allocations: 0.5123 MB / 0.6266 GB, free: 3.277 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009582/0.533, allocations: 0.7601 MB / 0.6274 GB, free: 2.387 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.533, allocations: 7.938 kB / 0.6274 GB, free: 2.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001655/0.5347, allocations: 0.9025 MB / 0.6282 GB, free: 1.469 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.5347, allocations: 18.42 kB / 0.6283 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.5347, allocations: 12 kB / 0.6283 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.5362, allocations: 292.5 kB / 0.6286 GB, free: 1.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.5366, allocations: 119.8 kB / 0.6287 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.5376, allocations: 0.8916 MB / 0.6295 GB, free: 124 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.5381, allocations: 39.92 kB / 0.6296 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.269e-05/0.5382, allocations: 44.05 kB / 0.6296 GB, free: 40 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003652/0.5386, allocations: 242 kB / 0.6299 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.5387, allocations: 71.16 kB / 0.6299 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.54, allocations: 0.77 MB / 0.6307 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.54, allocations: 4 kB / 0.6307 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.5401, allocations: 2.562 kB / 0.6307 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.5401, allocations: 7.922 kB / 0.6307 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.5421, allocations: 1.407 MB / 0.6321 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.5421, allocations: 0 / 0.6321 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.5432, allocations: 207.9 kB / 0.6323 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.932e-05/0.5433, allocations: 28.78 kB / 0.6323 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/0.5434, allocations: 12 kB / 0.6323 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.5454, allocations: 2.876 MB / 0.6351 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.5454, allocations: 7.969 kB / 0.6351 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.547, allocations: 1.003 MB / 0.6361 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/0.5474, allocations: 204.1 kB / 0.6363 GB, free: 8.723 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.5475, allocations: 15.94 kB / 0.6363 GB, free: 8.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004696/0.548, allocations: 36.03 kB / 0.6363 GB, free: 8.672 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/0.5481, allocations: 35.89 kB / 0.6364 GB, free: 8.637 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/0.5481, allocations: 23.98 kB / 0.6364 GB, free: 8.613 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004942/0.5486, allocations: 427 kB / 0.6368 GB, free: 8.199 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5486, allocations: 0 / 0.6368 GB, free: 8.199 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008618/0.5495, allocations: 223.9 kB / 0.637 GB, free: 7.98 MB / 478.1 MB 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002249/0.5518, allocations: 1.729 MB / 0.6387 GB, free: 6.199 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.5532, allocations: 0.6655 MB / 0.6394 GB, free: 5.531 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5532, allocations: 0 / 0.6394 GB, free: 5.531 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.5543, allocations: 455.7 kB / 0.6398 GB, free: 5.074 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.5561, allocations: 382.3 kB / 0.6402 GB, free: 4.723 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.5668, allocations: 6.91 MB / 0.6469 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.5674, allocations: 0.9346 MB / 0.6478 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007434/0.5682, allocations: 205.5 kB / 0.648 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.5685, allocations: 243.3 kB / 0.6482 GB, free: 12.04 MB / 494.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5685, allocations: 0 / 0.6482 GB, free: 12.04 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05241/0.6209, allocations: 22.12 MB / 0.6698 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003935/0.6214, allocations: 301.3 kB / 0.6701 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/3.229, allocations: 0 / 0.6701 GB, free: 5.871 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches