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.0009989/0.000999, allocations: 97.33 kB / 16.02 MB, free: 84 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.001288/0.001288, allocations: 186.5 kB / 16.92 MB, free: 6.891 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.536/1.536, allocations: 205.4 MB / 223.1 MB, free: 5.496 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.3651/0.3651, allocations: 43.58 MB / 315 MB, free: 8.785 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.0004983/0.0004983, allocations: 12.47 kB / 384.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1072, allocations: 58.86 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3634/0.4706, allocations: 175.8 MB / 0.6048 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.4808, allocations: 8.293 MB / 0.6129 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008454/0.4817, allocations: 23.81 kB / 0.6129 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007933/0.4825, allocations: 278.5 kB / 0.6132 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00345/0.4859, allocations: 1.326 MB / 0.6145 GB, free: 1.285 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.4886, allocations: 0.994 MB / 0.6155 GB, free: 308 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002859/0.4915, allocations: 2.713 MB / 0.6181 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006634/0.4922, allocations: 400.4 kB / 0.6185 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/0.4945, allocations: 1.113 MB / 0.6196 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009026/0.4954, allocations: 0.6851 MB / 0.6203 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.7e-05/0.4955, allocations: 32 kB / 0.6203 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.497, allocations: 0.6981 MB / 0.621 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.4972, allocations: 247.1 kB / 0.6212 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.4976, allocations: 395.9 kB / 0.6216 GB, free: 10.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.4992, allocations: 1.375 MB / 0.6229 GB, free: 8.656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4992, allocations: 4 kB / 0.6229 GB, free: 8.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4992, allocations: 0 / 0.6229 GB, free: 8.652 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.4992, allocations: 0 / 0.6229 GB, free: 8.652 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.001868/0.5011, allocations: 0.9792 MB / 0.6239 GB, free: 7.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.5012, allocations: 16.02 kB / 0.6239 GB, free: 7.609 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.5013, allocations: 102.5 kB / 0.624 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000779/0.5021, allocations: 131.1 kB / 0.6241 GB, free: 7.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000762/0.5028, allocations: 0.504 MB / 0.6246 GB, free: 6.824 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.503, allocations: 104.4 kB / 0.6247 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.853e-05/0.5031, allocations: 48 kB / 0.6248 GB, free: 6.664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.5043, allocations: 0.8213 MB / 0.6256 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.5043, allocations: 0 / 0.6256 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/0.5044, allocations: 24 kB / 0.6256 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.562e-05/0.5045, allocations: 36.98 kB / 0.6256 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.5055, allocations: 0.6282 MB / 0.6262 GB, free: 5.078 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.004544/0.51, allocations: 3.979 MB / 0.6301 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.5106, allocations: 355.6 kB / 0.6305 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.5109, allocations: 169.3 kB / 0.6306 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2832/0.794, allocations: 365.6 kB / 0.631 GB, free: 48.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/0.7941, allocations: 38.53 kB / 0.631 GB, free: 48.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.885e-06/0.7942, allocations: 0 / 0.631 GB, free: 48.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005841/0.8, allocations: 1.665 MB / 0.6326 GB, free: 48.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.8001, allocations: 139.9 kB / 0.6328 GB, free: 48.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007958/0.8009, allocations: 0.6134 MB / 0.6334 GB, free: 48.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.801, allocations: 35.27 kB / 0.6334 GB, free: 48.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.8012, allocations: 367.6 kB / 0.6338 GB, free: 47.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.8013, allocations: 145.5 kB / 0.6339 GB, free: 47.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.8014, allocations: 63.81 kB / 0.634 GB, free: 47.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8015, allocations: 375.5 kB / 0.6343 GB, free: 47.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.8018, allocations: 200.6 kB / 0.6345 GB, free: 47.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.8024, allocations: 0.5121 MB / 0.635 GB, free: 47.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009039/0.8033, allocations: 0.7415 MB / 0.6357 GB, free: 46.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.8033, allocations: 5.406 kB / 0.6357 GB, free: 46.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001411/0.8047, allocations: 0.8822 MB / 0.6366 GB, free: 46.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.8047, allocations: 8.906 kB / 0.6366 GB, free: 46.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.8048, allocations: 11.81 kB / 0.6366 GB, free: 46.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.8061, allocations: 321 kB / 0.6369 GB, free: 46.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.8065, allocations: 127.1 kB / 0.637 GB, free: 46.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.8076, allocations: 0.9306 MB / 0.638 GB, free: 46.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.8083, allocations: 47.27 kB / 0.638 GB, free: 46.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-05/0.8084, allocations: 64.7 kB / 0.6381 GB, free: 46.2 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.0003796/0.8087, allocations: 247.7 kB / 0.6383 GB, free: 46.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.8088, allocations: 72.12 kB / 0.6384 GB, free: 46.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.8102, allocations: 0.6841 MB / 0.639 GB, free: 45.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.8103, allocations: 4.562 kB / 0.639 GB, free: 45.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8103, allocations: 0 / 0.639 GB, free: 45.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.8103, allocations: 2.625 kB / 0.639 GB, free: 45.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.8123, allocations: 1.608 MB / 0.6406 GB, free: 45.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.8124, allocations: 1.25 kB / 0.6406 GB, free: 45.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.8134, allocations: 214.8 kB / 0.6408 GB, free: 45.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.8135, allocations: 26.91 kB / 0.6408 GB, free: 45.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.8135, allocations: 20.97 kB / 0.6409 GB, free: 45.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.8151, allocations: 2.689 MB / 0.6435 GB, free: 42.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.8151, allocations: 5.25 kB / 0.6435 GB, free: 42.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.8164, allocations: 0.8086 MB / 0.6443 GB, free: 42.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.8168, allocations: 194 kB / 0.6445 GB, free: 42.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.459e-05/0.8169, allocations: 10.59 kB / 0.6445 GB, free: 42.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.8173, allocations: 33.48 kB / 0.6445 GB, free: 42.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.8174, allocations: 35.7 kB / 0.6445 GB, free: 42.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.8174, allocations: 47.8 kB / 0.6446 GB, free: 42.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005014/0.8179, allocations: 440.4 kB / 0.645 GB, free: 42.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8179, allocations: 0 / 0.645 GB, free: 42.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0011/0.8191, allocations: 286.9 kB / 0.6453 GB, free: 42.21 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.002181/0.8212, allocations: 1.606 MB / 0.6469 GB, free: 41.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.8223, allocations: 0.5402 MB / 0.6474 GB, free: 41.44 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8224, allocations: 4.5 kB / 0.6474 GB, free: 41.44 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009473/0.8233, allocations: 427.8 kB / 0.6478 GB, free: 41.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.8252, allocations: 350.4 kB / 0.6481 GB, free: 41.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007984/0.8332, allocations: 6.815 MB / 0.6548 GB, free: 38.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.8337, allocations: 0.9322 MB / 0.6557 GB, free: 37.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001188/0.8349, allocations: 264.5 kB / 0.6559 GB, free: 37.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/0.8354, allocations: 270.7 kB / 0.6562 GB, free: 37.38 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/0.8354, allocations: 0 / 0.6562 GB, free: 37.38 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04764/0.8831, allocations: 24.2 MB / 0.6798 GB, free: 27.74 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.8833, allocations: 299.3 kB / 0.6801 GB, free: 27.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.365, allocations: 64 / 0.6801 GB, free: 27.36 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