Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.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.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir",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.001395/0.001395, allocations: 103.9 kB / 15.98 MB, free: 6.352 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.001401/0.001401, allocations: 196.4 kB / 16.91 MB, free: 6.195 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.665/1.665, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.3755/0.3755, allocations: 43.49 MB / 313.6 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.001848/0.001848, allocations: 67.89 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1326, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3923/0.525, allocations: 151.3 MB / 0.5776 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.5389, allocations: 13.23 MB / 0.5905 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.5392, allocations: 4 kB / 0.5905 GB, free: 7.336 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.5396, allocations: 59.69 kB / 0.5906 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009852/0.5496, allocations: 3.172 MB / 0.5937 GB, free: 4.105 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.55, allocations: 157.2 kB / 0.5938 GB, free: 3.961 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008535/0.5509, allocations: 0.5334 MB / 0.5943 GB, free: 3.426 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.913e-05/0.551, allocations: 15.06 kB / 0.5943 GB, free: 3.414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004146/0.5514, allocations: 231.2 kB / 0.5946 GB, free: 3.188 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008759/0.5523, allocations: 398.9 kB / 0.5949 GB, free: 2.797 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.5523, allocations: 16 kB / 0.595 GB, free: 2.781 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/0.5625, allocations: 5.119 MB / 0.6 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.5627, allocations: 107.6 kB / 0.6001 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.563, allocations: 155.3 kB / 0.6002 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007508/0.5705, allocations: 2.76 MB / 0.6029 GB, free: 10.63 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5705, allocations: 3.938 kB / 0.6029 GB, free: 10.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5706, allocations: 4 kB / 0.6029 GB, free: 10.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.5706, allocations: 0 / 0.6029 GB, free: 10.62 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002751/0.5733, allocations: 1.125 MB / 0.604 GB, free: 9.449 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5734, allocations: 15.83 kB / 0.604 GB, free: 9.434 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.354e-05/0.5735, allocations: 74.72 kB / 0.6041 GB, free: 9.352 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.5737, allocations: 32.66 kB / 0.6041 GB, free: 9.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.574, allocations: 258.5 kB / 0.6044 GB, free: 9.027 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.5741, allocations: 127.5 kB / 0.6045 GB, free: 8.879 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.5742, allocations: 31.98 kB / 0.6045 GB, free: 8.848 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008373/0.575, allocations: 0.5721 MB / 0.6051 GB, free: 8.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.575, allocations: 3.984 kB / 0.6051 GB, free: 8.242 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.5751, allocations: 16 kB / 0.6051 GB, free: 8.227 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-05/0.5751, allocations: 24.55 kB / 0.6051 GB, free: 8.203 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.5764, allocations: 1.263 MB / 0.6064 GB, free: 6.941 MB / 478.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.002304/0.5787, allocations: 2 MB / 0.6083 GB, free: 4.793 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.5794, allocations: 272 kB / 0.6086 GB, free: 4.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.5796, allocations: 118 kB / 0.6087 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003431/0.583, allocations: 3.348 MB / 0.612 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.5831, allocations: 42.56 kB / 0.612 GB, free: 468 kB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 1.824e-06/0.5831, allocations: 0 / 0.612 GB, free: 468 kB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.00187/0.585, allocations: 0.7284 MB / 0.6127 GB, free: 15.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.585, allocations: 55.41 kB / 0.6128 GB, free: 15.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.5852, allocations: 202.3 kB / 0.613 GB, free: 15.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.5853, allocations: 33.7 kB / 0.613 GB, free: 15.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.5854, allocations: 195.7 kB / 0.6132 GB, free: 15.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.5856, allocations: 153.8 kB / 0.6133 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.5857, allocations: 138.2 kB / 0.6135 GB, free: 14.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5859, allocations: 334.8 kB / 0.6138 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.5861, allocations: 109.2 kB / 0.6139 GB, free: 14.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.5865, allocations: 421.3 kB / 0.6143 GB, free: 13.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/0.5871, allocations: 0.5753 MB / 0.6148 GB, free: 13.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.5872, allocations: 8.562 kB / 0.6148 GB, free: 13.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009069/0.5881, allocations: 0.5596 MB / 0.6154 GB, free: 12.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5881, allocations: 12.06 kB / 0.6154 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.5881, allocations: 12.5 kB / 0.6154 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.5882, allocations: 16 kB / 0.6154 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/0.5888, allocations: 200.7 kB / 0.6156 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006734/0.5895, allocations: 1.191 MB / 0.6168 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.5898, allocations: 31.94 kB / 0.6168 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.59, allocations: 63.97 kB / 0.6169 GB, free: 11.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.5902, allocations: 183.7 kB / 0.6171 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.5903, allocations: 27.72 kB / 0.6171 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.5916, allocations: 0.6518 MB / 0.6177 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.5916, allocations: 4 kB / 0.6177 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5917, allocations: 0 / 0.6177 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5917, allocations: 0 / 0.6177 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.5927, allocations: 0.6535 MB / 0.6184 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5927, allocations: 3.125 kB / 0.6184 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.5931, allocations: 97.83 kB / 0.6185 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.5932, allocations: 4 kB / 0.6185 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.5932, allocations: 16.02 kB / 0.6185 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006509/0.5938, allocations: 1.172 MB / 0.6196 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5939, allocations: 0 / 0.6196 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.5943, allocations: 349.1 kB / 0.62 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.5945, allocations: 120.9 kB / 0.6201 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.5945, allocations: 15.84 kB / 0.6201 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.5948, allocations: 11.94 kB / 0.6201 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.5949, allocations: 28.23 kB / 0.6201 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.5949, allocations: 20 kB / 0.6201 GB, free: 7.531 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.5951, allocations: 172.5 kB / 0.6203 GB, free: 7.363 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5951, allocations: 4 kB / 0.6203 GB, free: 7.359 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001835/0.5969, allocations: 0.5581 MB / 0.6209 GB, free: 6.801 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002828/0.5997, allocations: 1.661 MB / 0.6225 GB, free: 5.117 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.6008, allocations: 390.2 kB / 0.6228 GB, free: 4.738 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6008, allocations: 5.688 kB / 0.6229 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.6012, allocations: 148 kB / 0.623 GB, free: 4.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008092/0.602, allocations: 136.1 kB / 0.6231 GB, free: 4.465 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3011/0.903, allocations: 11.36 MB / 0.6342 GB, free: 35.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.9034, allocations: 0.7704 MB / 0.635 GB, free: 35.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009276/0.9043, allocations: 185.4 kB / 0.6351 GB, free: 35.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/0.9047, allocations: 128 kB / 0.6353 GB, free: 35.23 MB / 494.1 MB Notification: Performance of SimCode: time 1.352e-06/0.9047, allocations: 0 / 0.6353 GB, free: 35.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0564/0.9611, allocations: 20.21 MB / 0.655 GB, free: 32.28 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/0.9614, allocations: 278.5 kB / 0.6553 GB, free: 31.91 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/3.645, allocations: 4 kB / 0.6553 GB, free: 31.91 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches