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.001097/0.001097, allocations: 98.11 kB / 16.94 MB, free: 6.441 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.0009858/0.000986, allocations: 188.6 kB / 17.83 MB, free: 6.008 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.36/1.36, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004296/0.0004296, allocations: 15.44 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1028, allocations: 47.58 MB / 328.3 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3729/0.4757, allocations: 148.7 MB / 477 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00395/0.4797, allocations: 3.264 MB / 480.3 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.48, allocations: 7.938 kB / 480.3 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.4807, allocations: 199.1 kB / 480.5 MB, free: 472 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.4812, allocations: 255.3 kB / 480.7 MB, free: 216 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004388/0.4856, allocations: 1.487 MB / 482.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008181/0.4865, allocations: 0.6288 MB / 482.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.4867, allocations: 109.5 kB / 483 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/0.4887, allocations: 0.9664 MB / 483.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.4891, allocations: 287.1 kB / 484.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.4892, allocations: 28 kB / 484.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005052/0.4943, allocations: 3.004 MB / 487.2 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.4945, allocations: 187.6 kB / 487.4 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.4947, allocations: 129.5 kB / 487.6 MB, free: 9.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002161/0.4969, allocations: 1.525 MB / 489.1 MB, free: 7.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.4969, allocations: 0 / 489.1 MB, free: 7.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4969, allocations: 0 / 489.1 MB, free: 7.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.4969, allocations: 3.938 kB / 489.1 MB, free: 7.852 MB / 382.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.001751/0.4986, allocations: 0.9279 MB / 490 MB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4987, allocations: 8.031 kB / 490 MB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.499, allocations: 59.44 kB / 490.1 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.4995, allocations: 362 kB / 490.4 MB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.4996, allocations: 33 kB / 490.5 MB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.25e-05/0.4996, allocations: 44 kB / 490.5 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/0.5005, allocations: 0.4983 MB / 491 MB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.5005, allocations: 7.938 kB / 491 MB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.5006, allocations: 16 kB / 491 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.5006, allocations: 12 kB / 491 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000893/0.5015, allocations: 0.5934 MB / 491.6 MB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.5047, allocations: 2.175 MB / 493.8 MB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.5059, allocations: 0.5554 MB / 494.4 MB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005818/0.5065, allocations: 0.6931 MB / 495.1 MB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.5065, allocations: 46.94 kB / 495.1 MB, free: 1.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 4.198e-06/0.5065, allocations: 0 / 495.1 MB, free: 1.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.01442/0.521, allocations: 3.802 MB / 498.9 MB, free: 13.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.5211, allocations: 59.97 kB / 499 MB, free: 13.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.5215, allocations: 286.7 kB / 499.2 MB, free: 13.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.5216, allocations: 37.7 kB / 499.3 MB, free: 13.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.5218, allocations: 193.2 kB / 499.5 MB, free: 12.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.522, allocations: 232.7 kB / 499.7 MB, free: 12.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.5221, allocations: 16 kB / 499.7 MB, free: 12.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.5223, allocations: 350.8 kB / 0.4883 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007443/0.5231, allocations: 313.1 kB / 0.4886 GB, free: 11.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/0.5239, allocations: 396.2 kB / 0.489 GB, free: 11.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007471/0.5246, allocations: 355 kB / 0.4893 GB, free: 11.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5246, allocations: 0 / 0.4893 GB, free: 11.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002143/0.5268, allocations: 0.9678 MB / 0.4903 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.5268, allocations: 4 kB / 0.4903 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.5268, allocations: 4 kB / 0.4903 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.5286, allocations: 358.2 kB / 0.4906 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.5292, allocations: 119.8 kB / 0.4908 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004159/0.5333, allocations: 3.538 MB / 0.4942 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006571/0.534, allocations: 67.95 kB / 0.4943 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-05/0.5341, allocations: 27.98 kB / 0.4943 GB, free: 5.812 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002973/0.5344, allocations: 193.6 kB / 0.4945 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.5345, allocations: 43.53 kB / 0.4945 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.537, allocations: 1.037 MB / 0.4955 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.537, allocations: 8 kB / 0.4955 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.537, allocations: 0 / 0.4955 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002029/0.5391, allocations: 1.083 MB / 0.4966 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.5422, allocations: 1.726 MB / 0.4983 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5423, allocations: 0 / 0.4983 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/0.5428, allocations: 111.9 kB / 0.4984 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/0.5448, allocations: 388.4 kB / 0.4988 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.698e-05/0.5448, allocations: 23.97 kB / 0.4988 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.5463, allocations: 0.8801 MB / 0.4996 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5463, allocations: 0 / 0.4996 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.549, allocations: 1.381 MB / 0.501 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.5493, allocations: 124.6 kB / 0.5011 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.5494, allocations: 19.98 kB / 0.5011 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007222/0.5501, allocations: 55.95 kB / 0.5012 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/0.5502, allocations: 43.19 kB / 0.5012 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.742e-05/0.5503, allocations: 35.97 kB / 0.5013 GB, free: 14.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002917/0.5506, allocations: 217.9 kB / 0.5015 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5506, allocations: 4 kB / 0.5015 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001745/0.5524, allocations: 451.6 kB / 0.5019 GB, free: 13.79 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001779/0.5542, allocations: 0.5376 MB / 0.5024 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.5563, allocations: 1.001 MB / 0.5034 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5563, allocations: 0 / 0.5034 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009117/0.5573, allocations: 415.2 kB / 0.5038 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.5588, allocations: 288.5 kB / 0.5041 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.5619, allocations: 1.545 MB / 0.5056 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/0.5624, allocations: 0.8649 MB / 0.5064 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006117/0.563, allocations: 128.6 kB / 0.5066 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.5632, allocations: 55.42 kB / 0.5066 GB, free: 8.871 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5632, allocations: 0 / 0.5066 GB, free: 8.871 MB / 414.1 MB Notification: Performance of Templates: time 0.03132/0.5945, allocations: 20.22 MB / 0.5264 GB, free: 4.629 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile Environment - environmentSimulation: (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/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