Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_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.001468/0.001468, allocations: 103.4 kB / 17.16 MB, free: 6.32 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.001587/0.001587, allocations: 190 kB / 18.07 MB, free: 5.414 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.283/1.283, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.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.001625/0.001625, allocations: 55.92 kB / 280.1 MB, free: 3.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09876/0.1004, allocations: 46.61 MB / 326.7 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3387/0.4391, allocations: 185.3 MB / 0.5 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005218/0.4444, allocations: 4.885 MB / 0.5048 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.4445, allocations: 3.938 kB / 0.5048 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006238/0.4452, allocations: 219 kB / 0.505 GB, free: 8.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005057/0.4457, allocations: 370.1 kB / 0.5053 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006071/0.4518, allocations: 2.508 MB / 0.5078 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.4534, allocations: 1.668 MB / 0.5094 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.4537, allocations: 122 kB / 0.5095 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/0.4566, allocations: 1.293 MB / 0.5108 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005096/0.4571, allocations: 442.5 kB / 0.5112 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.298e-05/0.4572, allocations: 32 kB / 0.5112 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006484/0.4637, allocations: 4.298 MB / 0.5154 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.464, allocations: 207.4 kB / 0.5156 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003885/0.4644, allocations: 286.9 kB / 0.5159 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00438/0.4688, allocations: 2.958 MB / 0.5188 GB, free: 10.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4688, allocations: 3.984 kB / 0.5188 GB, free: 10.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.4688, allocations: 3.938 kB / 0.5188 GB, free: 10.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.4688, allocations: 0 / 0.5188 GB, free: 10.78 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00202/0.4709, allocations: 1.138 MB / 0.5199 GB, free: 9.594 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.4709, allocations: 8.031 kB / 0.5199 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.471, allocations: 90.52 kB / 0.52 GB, free: 9.488 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.4713, allocations: 63.42 kB / 0.5201 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.4717, allocations: 353.9 kB / 0.5204 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.4718, allocations: 36.94 kB / 0.5204 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/0.4718, allocations: 44 kB / 0.5205 GB, free: 8.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000809/0.4726, allocations: 0.5061 MB / 0.521 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.4727, allocations: 3.984 kB / 0.521 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.4727, allocations: 20 kB / 0.521 GB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.4727, allocations: 8 kB / 0.521 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/0.4736, allocations: 0.6051 MB / 0.5216 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002803/0.4764, allocations: 2.163 MB / 0.5237 GB, free: 5.422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.4775, allocations: 0.5554 MB / 0.5243 GB, free: 4.859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.4778, allocations: 266 kB / 0.5245 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004845/0.4783, allocations: 0.6931 MB / 0.5252 GB, free: 3.758 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.4784, allocations: 46.98 kB / 0.5252 GB, free: 3.703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 1.683e-06/0.4784, allocations: 0 / 0.5252 GB, free: 3.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.1536/0.632, allocations: 3.635 MB / 0.5288 GB, free: 166.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.632, allocations: 62.22 kB / 0.5288 GB, free: 166.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.6324, allocations: 293.7 kB / 0.5291 GB, free: 166.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.6326, allocations: 39.95 kB / 0.5292 GB, free: 166.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.6327, allocations: 190.3 kB / 0.5293 GB, free: 166 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.6328, allocations: 231.5 kB / 0.5296 GB, free: 165.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.633, allocations: 116.1 kB / 0.5297 GB, free: 165.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.6331, allocations: 350.1 kB / 0.53 GB, free: 165.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007175/0.6338, allocations: 311.6 kB / 0.5303 GB, free: 165.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000725/0.6346, allocations: 387.8 kB / 0.5307 GB, free: 165.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.6362, allocations: 0.711 MB / 0.5314 GB, free: 165.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6362, allocations: 0.6562 kB / 0.5314 GB, free: 165.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002127/0.6383, allocations: 0.9631 MB / 0.5323 GB, free: 164.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6384, allocations: 8.188 kB / 0.5323 GB, free: 164.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.6384, allocations: 0 / 0.5323 GB, free: 164.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.6398, allocations: 336.5 kB / 0.5326 GB, free: 164.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.6404, allocations: 120.6 kB / 0.5328 GB, free: 164.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.6432, allocations: 3.507 MB / 0.5362 GB, free: 161.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006341/0.6439, allocations: 63.19 kB / 0.5362 GB, free: 161.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/0.6439, allocations: 28.89 kB / 0.5363 GB, free: 161.6 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000286/0.6442, allocations: 191.9 kB / 0.5364 GB, free: 161.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.6444, allocations: 47.33 kB / 0.5365 GB, free: 161.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/0.6468, allocations: 1.017 MB / 0.5375 GB, free: 161 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.6468, allocations: 6.812 kB / 0.5375 GB, free: 161 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.6468, allocations: 0 / 0.5375 GB, free: 161 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001988/0.6488, allocations: 1.073 MB / 0.5385 GB, free: 160.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/0.6519, allocations: 1.703 MB / 0.5402 GB, free: 159.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6519, allocations: 0 / 0.5402 GB, free: 159.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/0.6525, allocations: 115.8 kB / 0.5403 GB, free: 159.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/0.6542, allocations: 372 kB / 0.5407 GB, free: 159.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.365e-05/0.6543, allocations: 19.64 kB / 0.5407 GB, free: 159.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.6555, allocations: 0.8724 MB / 0.5415 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6556, allocations: 0 / 0.5415 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.6582, allocations: 1.338 MB / 0.5428 GB, free: 158.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.6584, allocations: 124.2 kB / 0.543 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-05/0.6585, allocations: 18.86 kB / 0.543 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/0.6591, allocations: 51.45 kB / 0.543 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.96e-05/0.6593, allocations: 47.36 kB / 0.5431 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/0.6593, allocations: 34.17 kB / 0.5431 GB, free: 158.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002624/0.6596, allocations: 221.8 kB / 0.5433 GB, free: 157.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6596, allocations: 1.062 kB / 0.5433 GB, free: 157.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001632/0.6612, allocations: 460.1 kB / 0.5438 GB, free: 157.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (62): * Single equations (assignments): 61 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004155/0.6654, allocations: 2.353 MB / 0.5461 GB, free: 156.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.6675, allocations: 1.001 MB / 0.547 GB, free: 156.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.6675, allocations: 1.375 kB / 0.547 GB, free: 156.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008489/0.6683, allocations: 421.9 kB / 0.5474 GB, free: 156.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.6697, allocations: 299.5 kB / 0.5477 GB, free: 156 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008893/0.6786, allocations: 5.947 MB / 0.5535 GB, free: 152.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.6789, allocations: 0.8525 MB / 0.5544 GB, free: 151.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006322/0.6796, allocations: 132 kB / 0.5545 GB, free: 151.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.6798, allocations: 165.2 kB / 0.5546 GB, free: 151.4 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6798, allocations: 0 / 0.5546 GB, free: 151.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/0.7155, allocations: 26.05 MB / 0.5801 GB, free: 125.5 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.7158, allocations: 243.5 kB / 0.5803 GB, free: 125.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.231, allocations: 4 kB / 0.5803 GB, free: 125.2 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches