Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 174.8 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008103/0.0008104, allocations: 89.41 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003271, allocations: 12 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2461, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.367/0.6132, allocations: 169.8 MB / 0.5321 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004249/0.6175, allocations: 4.449 MB / 0.5364 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004196/0.6179, allocations: 2.531 kB / 0.5364 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007177/0.6186, allocations: 198.9 kB / 0.5366 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005867/0.6192, allocations: 364.9 kB / 0.537 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006517/0.6258, allocations: 2.364 MB / 0.5393 GB, free: 276 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.6275, allocations: 1.418 MB / 0.5407 GB, free: 0 / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.6277, allocations: 119.4 kB / 0.5408 GB, free: 15.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.6308, allocations: 1.294 MB / 0.542 GB, free: 15.49 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005256/0.6314, allocations: 413 kB / 0.5424 GB, free: 15.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.402e-05/0.6314, allocations: 24.62 kB / 0.5425 GB, free: 15.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00717/0.6386, allocations: 4.228 MB / 0.5466 GB, free: 14.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.6389, allocations: 192.6 kB / 0.5468 GB, free: 14.06 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.6393, allocations: 295.5 kB / 0.5471 GB, free: 13.95 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003247/0.6426, allocations: 2.036 MB / 0.549 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.6426, allocations: 0 / 0.549 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6426, allocations: 0 / 0.549 GB, free: 13.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.6426, allocations: 1.859 kB / 0.549 GB, free: 13.07 MB / 394.7 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.002061/0.6447, allocations: 1.031 MB / 0.5501 GB, free: 12.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.6448, allocations: 9.156 kB / 0.5501 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002996/0.6451, allocations: 64.94 kB / 0.5501 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.6456, allocations: 362.1 kB / 0.5505 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.6456, allocations: 34.97 kB / 0.5505 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/0.6457, allocations: 49.7 kB / 0.5506 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008538/0.6465, allocations: 0.4996 MB / 0.551 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.6466, allocations: 0 / 0.551 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/0.6466, allocations: 21 kB / 0.5511 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.6467, allocations: 14.41 kB / 0.5511 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008314/0.6475, allocations: 0.5953 MB / 0.5517 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002975/0.6505, allocations: 2.175 MB / 0.5538 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.6516, allocations: 0.5573 MB / 0.5543 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.6519, allocations: 259.8 kB / 0.5546 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005399/0.6525, allocations: 0.6977 MB / 0.5553 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.6525, allocations: 46.34 kB / 0.5553 GB, free: 9.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 2.555e-06/0.6525, allocations: 0 / 0.5553 GB, free: 9.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.01321/0.6658, allocations: 3.805 MB / 0.559 GB, free: 7.891 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.6658, allocations: 67.77 kB / 0.5591 GB, free: 7.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.6661, allocations: 291.5 kB / 0.5594 GB, free: 7.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.6662, allocations: 38.64 kB / 0.5594 GB, free: 7.648 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.6663, allocations: 188.4 kB / 0.5596 GB, free: 7.512 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.6665, allocations: 230.2 kB / 0.5598 GB, free: 7.348 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.6666, allocations: 12.84 kB / 0.5598 GB, free: 7.348 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6667, allocations: 345.7 kB / 0.5601 GB, free: 7.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/0.6674, allocations: 319.8 kB / 0.5604 GB, free: 6.969 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006757/0.668, allocations: 388.9 kB / 0.5608 GB, free: 6.863 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.6695, allocations: 0.7165 MB / 0.5615 GB, free: 6.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.6695, allocations: 4 kB / 0.5615 GB, free: 6.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002207/0.6717, allocations: 0.9679 MB / 0.5625 GB, free: 5.746 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6717, allocations: 8.031 kB / 0.5625 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.6717, allocations: 4 kB / 0.5625 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.6734, allocations: 349.7 kB / 0.5628 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/0.6739, allocations: 121 kB / 0.5629 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/0.6774, allocations: 3.53 MB / 0.5664 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.678, allocations: 59.86 kB / 0.5664 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/0.6781, allocations: 27.69 kB / 0.5664 GB, free: 1.676 MB / 394.7 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.0002927/0.6784, allocations: 195.8 kB / 0.5666 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.6785, allocations: 51.47 kB / 0.5667 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.681, allocations: 1.035 MB / 0.5677 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.681, allocations: 8 kB / 0.5677 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.681, allocations: 0 / 0.5677 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002085/0.6831, allocations: 1.089 MB / 0.5688 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.6861, allocations: 1.722 MB / 0.5704 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6861, allocations: 0 / 0.5704 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.6866, allocations: 109 kB / 0.5706 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/0.6885, allocations: 407.5 kB / 0.5709 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.6886, allocations: 22.73 kB / 0.571 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.69, allocations: 0.8766 MB / 0.5718 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.69, allocations: 4.031 kB / 0.5718 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.6927, allocations: 1.362 MB / 0.5732 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.6929, allocations: 125.6 kB / 0.5733 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.693, allocations: 18.38 kB / 0.5733 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.6937, allocations: 61.25 kB / 0.5733 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.6938, allocations: 45 kB / 0.5734 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.6939, allocations: 35.22 kB / 0.5734 GB, free: 12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002286/0.6941, allocations: 216.8 kB / 0.5736 GB, free: 11.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6941, allocations: 0 / 0.5736 GB, free: 11.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001319/0.6954, allocations: 453.8 kB / 0.5741 GB, free: 11.42 MB / 410.7 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.001297/0.6967, allocations: 0.5748 MB / 0.5746 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.6988, allocations: 0.9978 MB / 0.5756 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.6988, allocations: 0 / 0.5756 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008739/0.6997, allocations: 426.2 kB / 0.576 GB, free: 9.793 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.7011, allocations: 295.5 kB / 0.5763 GB, free: 9.555 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.7039, allocations: 1.586 MB / 0.5778 GB, free: 8.109 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.7043, allocations: 0.8538 MB / 0.5787 GB, free: 7.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.7045, allocations: 64.86 kB / 0.5787 GB, free: 7.172 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.7045, allocations: 0 / 0.5787 GB, free: 7.172 MB / 410.7 MB Notification: Performance of Templates: time 0.02205/0.7266, allocations: 17.36 MB / 0.5957 GB, free: 5.871 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches