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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 108.4 kB / 18.36 MB, free: 4.641 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.001136/0.001136, allocations: 191 kB / 19.29 MB, free: 3.715 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.298/1.298, allocations: 205.1 MB / 225.2 MB, free: 12.29 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.001195/0.001195, allocations: 55.92 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07953/0.08074, allocations: 46.62 MB / 328.7 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.336/0.4168, allocations: 186.6 MB / 0.5032 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005718/0.4225, allocations: 4.786 MB / 0.5079 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.4227, allocations: 4 kB / 0.5079 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007018/0.4235, allocations: 246.6 kB / 0.5082 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005875/0.4241, allocations: 369.9 kB / 0.5085 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006976/0.4311, allocations: 2.862 MB / 0.5113 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.4325, allocations: 1.173 MB / 0.5125 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.4327, allocations: 149.9 kB / 0.5126 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.4357, allocations: 1.449 MB / 0.514 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.4362, allocations: 430.5 kB / 0.5144 GB, free: 392 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.62e-05/0.4363, allocations: 64 kB / 0.5145 GB, free: 328 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006976/0.4433, allocations: 4.208 MB / 0.5186 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.4436, allocations: 243.4 kB / 0.5188 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003878/0.444, allocations: 318.9 kB / 0.5191 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004243/0.4482, allocations: 2.908 MB / 0.522 GB, free: 8.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4483, allocations: 0 / 0.522 GB, free: 8.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4483, allocations: 0 / 0.522 GB, free: 8.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.4483, allocations: 0 / 0.522 GB, free: 8.641 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.002103/0.4504, allocations: 1.138 MB / 0.5231 GB, free: 7.453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4504, allocations: 15.89 kB / 0.5231 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003233/0.4508, allocations: 51.53 kB / 0.5231 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.4513, allocations: 377.9 kB / 0.5235 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.4513, allocations: 32.94 kB / 0.5235 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.682e-05/0.4514, allocations: 47.98 kB / 0.5236 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/0.4523, allocations: 0.4984 MB / 0.5241 GB, free: 6.391 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.4523, allocations: 4 kB / 0.5241 GB, free: 6.387 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/0.4524, allocations: 20 kB / 0.5241 GB, free: 6.367 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.4524, allocations: 8 kB / 0.5241 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009182/0.4533, allocations: 0.6011 MB / 0.5247 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.4565, allocations: 2.172 MB / 0.5268 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.4577, allocations: 0.5509 MB / 0.5273 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003911/0.4581, allocations: 262 kB / 0.5276 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000512/0.4586, allocations: 0.6931 MB / 0.5283 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.4586, allocations: 39 kB / 0.5283 GB, free: 1.656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 1.773e-06/0.4586, allocations: 0 / 0.5283 GB, free: 1.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.1626/0.6212, allocations: 3.638 MB / 0.5319 GB, free: 166.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.6213, allocations: 64.58 kB / 0.5319 GB, free: 166.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.6216, allocations: 288.6 kB / 0.5322 GB, free: 166.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.267e-05/0.6217, allocations: 43.83 kB / 0.5322 GB, free: 166.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.6218, allocations: 186.7 kB / 0.5324 GB, free: 166 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.622, allocations: 231.4 kB / 0.5326 GB, free: 165.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.6222, allocations: 111.2 kB / 0.5327 GB, free: 165.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.6223, allocations: 354.8 kB / 0.5331 GB, free: 165.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007201/0.6231, allocations: 309.9 kB / 0.5334 GB, free: 165.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007481/0.6238, allocations: 390.9 kB / 0.5338 GB, free: 165.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.6253, allocations: 0.7151 MB / 0.5345 GB, free: 164.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6253, allocations: 0 / 0.5345 GB, free: 164.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002251/0.6276, allocations: 0.9599 MB / 0.5354 GB, free: 164.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.6276, allocations: 7.531 kB / 0.5354 GB, free: 164.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.6276, allocations: 1.953 kB / 0.5354 GB, free: 164.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/0.6293, allocations: 339.9 kB / 0.5357 GB, free: 164.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006224/0.6299, allocations: 121.4 kB / 0.5358 GB, free: 164.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003399/0.6333, allocations: 3.706 MB / 0.5395 GB, free: 160.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.6339, allocations: 39.67 kB / 0.5395 GB, free: 160.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.577e-05/0.634, allocations: 29.56 kB / 0.5395 GB, free: 160.9 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.000291/0.6343, allocations: 193.3 kB / 0.5397 GB, free: 160.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.6345, allocations: 45.28 kB / 0.5398 GB, free: 160.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.637, allocations: 1.023 MB / 0.5408 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.6371, allocations: 11.78 kB / 0.5408 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.6371, allocations: 0 / 0.5408 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002263/0.6393, allocations: 1.068 MB / 0.5418 GB, free: 159.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/0.6429, allocations: 1.697 MB / 0.5435 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6429, allocations: 2.438 kB / 0.5435 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/0.6435, allocations: 114.5 kB / 0.5436 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001804/0.6454, allocations: 373 kB / 0.5439 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.6454, allocations: 27.09 kB / 0.544 GB, free: 158.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.6467, allocations: 0.8631 MB / 0.5448 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.6467, allocations: 0 / 0.5448 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.6495, allocations: 1.346 MB / 0.5461 GB, free: 157.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.6497, allocations: 122.3 kB / 0.5462 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.164e-05/0.6498, allocations: 21.2 kB / 0.5462 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.6504, allocations: 41.69 kB / 0.5463 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/0.6505, allocations: 42.8 kB / 0.5463 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.182e-05/0.6506, allocations: 29.42 kB / 0.5464 GB, free: 157.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002236/0.6508, allocations: 231.1 kB / 0.5466 GB, free: 157.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6508, allocations: 4 kB / 0.5466 GB, free: 157.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001439/0.6522, allocations: 456.8 kB / 0.547 GB, free: 157.2 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.001278/0.6535, allocations: 0.5605 MB / 0.5476 GB, free: 157 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.6556, allocations: 0.9956 MB / 0.5485 GB, free: 156.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6556, allocations: 0 / 0.5485 GB, free: 156.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008037/0.6564, allocations: 421.6 kB / 0.5489 GB, free: 156.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.6576, allocations: 316.5 kB / 0.5492 GB, free: 156.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.66, allocations: 1.315 MB / 0.5505 GB, free: 155.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.6602, allocations: 0.8468 MB / 0.5514 GB, free: 154.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004239/0.6607, allocations: 132.9 kB / 0.5515 GB, free: 154.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.6608, allocations: 54.42 kB / 0.5515 GB, free: 154.6 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.6608, allocations: 0 / 0.5515 GB, free: 154.6 MB / 430.1 MB Notification: Performance of Templates: time 0.02376/0.6846, allocations: 21.95 MB / 0.573 GB, free: 133.8 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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