Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.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 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.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_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.00125/0.00125, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001287/0.001287, allocations: 194 kB / 18.12 MB, free: 5.383 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.477/1.477, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.2437/0.2437, allocations: 44.18 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.8 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1253, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3719/0.4972, allocations: 148.8 MB / 0.603 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.4991, allocations: 1.426 MB / 0.6044 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.4992, allocations: 4 kB / 0.6044 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.4995, allocations: 35.81 kB / 0.6044 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.5019, allocations: 0.8624 MB / 0.6052 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.057e-06/0.5019, allocations: 0 / 0.6052 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.502, allocations: 99.66 kB / 0.6053 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.903e-05/0.5021, allocations: 0 / 0.6053 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/0.5021, allocations: 19.88 kB / 0.6053 GB, free: 9.938 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.5022, allocations: 23.91 kB / 0.6054 GB, free: 9.914 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.5022, allocations: 4 kB / 0.6054 GB, free: 9.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.505, allocations: 1.856 MB / 0.6072 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.5051, allocations: 8 kB / 0.6072 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.5051, allocations: 28.53 kB / 0.6072 GB, free: 8.016 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.5067, allocations: 0.9239 MB / 0.6081 GB, free: 7.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5067, allocations: 0 / 0.6081 GB, free: 7.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5067, allocations: 0 / 0.6081 GB, free: 7.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.5067, allocations: 0 / 0.6081 GB, free: 7.09 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007099/0.5074, allocations: 491.2 kB / 0.6086 GB, free: 6.562 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5075, allocations: 8.031 kB / 0.6086 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.5075, allocations: 42.73 kB / 0.6086 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.5075, allocations: 12.62 kB / 0.6087 GB, free: 6.496 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.796e-05/0.5076, allocations: 167.8 kB / 0.6088 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.5076, allocations: 7.984 kB / 0.6088 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.5077, allocations: 8 kB / 0.6088 GB, free: 6.277 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.5078, allocations: 69.61 kB / 0.6089 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.5078, allocations: 0 / 0.6089 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.5078, allocations: 4 kB / 0.6089 GB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.5079, allocations: 8 kB / 0.6089 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.516e-05/0.508, allocations: 55.91 kB / 0.609 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.5084, allocations: 301.5 kB / 0.6092 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.321e-05/0.5084, allocations: 34.56 kB / 0.6093 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.5085, allocations: 12.8 kB / 0.6093 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.5087, allocations: 263.4 kB / 0.6095 GB, free: 5.422 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.5087, allocations: 38.5 kB / 0.6096 GB, free: 5.375 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.5087, allocations: 0 / 0.6096 GB, free: 5.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001836/0.5089, allocations: 53.69 kB / 0.6096 GB, free: 5.316 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.509, allocations: 55.41 kB / 0.6097 GB, free: 5.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.249e-05/0.509, allocations: 101.8 kB / 0.6098 GB, free: 5.141 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.5091, allocations: 25.7 kB / 0.6098 GB, free: 5.109 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.639e-05/0.5092, allocations: 95.89 kB / 0.6099 GB, free: 5.012 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.5092, allocations: 11.81 kB / 0.6099 GB, free: 5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.5092, allocations: 29.7 kB / 0.6099 GB, free: 4.965 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5094, allocations: 310.8 kB / 0.6102 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.5094, allocations: 7.938 kB / 0.6102 GB, free: 4.645 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-05/0.5094, allocations: 35.42 kB / 0.6103 GB, free: 4.598 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.775e-05/0.5095, allocations: 55.36 kB / 0.6103 GB, free: 4.531 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5095, allocations: 0 / 0.6103 GB, free: 4.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000108/0.5096, allocations: 66.88 kB / 0.6104 GB, free: 4.461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5097, allocations: 14.44 kB / 0.6104 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5097, allocations: 0 / 0.6104 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5097, allocations: 3.984 kB / 0.6104 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8e-05/0.5098, allocations: 12.11 kB / 0.6104 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5098, allocations: 4.031 kB / 0.6104 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.5098, allocations: 16.33 kB / 0.6104 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.5099, allocations: 7.938 kB / 0.6104 GB, free: 4.406 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.262e-05/0.51, allocations: 117.8 kB / 0.6106 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.51, allocations: 3.938 kB / 0.6106 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.5101, allocations: 67.52 kB / 0.6106 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5102, allocations: 8 kB / 0.6106 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5102, allocations: 0 / 0.6106 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5102, allocations: 7.922 kB / 0.6106 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.5103, allocations: 157.7 kB / 0.6108 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5104, allocations: 0 / 0.6108 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.5104, allocations: 11.94 kB / 0.6108 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5104, allocations: 3.938 kB / 0.6108 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.5104, allocations: 0 / 0.6108 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5104, allocations: 0 / 0.6108 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5104, allocations: 0 / 0.6108 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.5106, allocations: 155.4 kB / 0.611 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.5106, allocations: 81.05 kB / 0.611 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.5106, allocations: 4 kB / 0.611 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.5107, allocations: 0 / 0.611 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.5107, allocations: 4 kB / 0.611 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.5107, allocations: 4 kB / 0.611 GB, free: 3.703 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.5108, allocations: 87.2 kB / 0.6111 GB, free: 3.617 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5108, allocations: 0 / 0.6111 GB, free: 3.617 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005101/0.5113, allocations: 139.9 kB / 0.6113 GB, free: 3.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/0.5125, allocations: 0.8918 MB / 0.6121 GB, free: 2.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.5126, allocations: 35.92 kB / 0.6122 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5126, allocations: 0 / 0.6122 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.204e-05/0.5126, allocations: 15.98 kB / 0.6122 GB, free: 2.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.5129, allocations: 0 / 0.6122 GB, free: 2.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.5135, allocations: 251.9 kB / 0.6124 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.5137, allocations: 0.6889 MB / 0.6131 GB, free: 1.516 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.88e-05/0.5138, allocations: 5.875 kB / 0.6131 GB, free: 1.512 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.5138, allocations: 27.36 kB / 0.6131 GB, free: 1.484 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5138, allocations: 0 / 0.6131 GB, free: 1.484 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.5279, allocations: 4.352 MB / 0.6174 GB, free: 13.21 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.5282, allocations: 226.4 kB / 0.6176 GB, free: 12.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.336, allocations: 0 / 0.6176 GB, free: 12.96 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches