Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 101.5 kB / 18.39 MB, free: 4.68 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.002974/0.002974, allocations: 183.1 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.743/3.743, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.002208/0.002208, allocations: 51.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2698, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.7216/0.9915, allocations: 65.74 MB / 441.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01417/1.006, allocations: 5.449 MB / 447 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/1.007, allocations: 7.938 kB / 447 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/1.01, allocations: 346 kB / 447.4 MB, free: 8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002525/1.012, allocations: 0.5127 MB / 447.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04398/1.056, allocations: 7.082 MB / 455 MB, free: 396 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004819/1.061, allocations: 1.543 MB / 456.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000715/1.062, allocations: 218.3 kB / 456.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/1.064, allocations: 0.6307 MB / 457.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/1.066, allocations: 0.5723 MB / 457.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003103/1.066, allocations: 80 kB / 458 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05463/1.121, allocations: 10.09 MB / 468.1 MB, free: 3.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/1.122, allocations: 323.2 kB / 468.4 MB, free: 2.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/1.124, allocations: 434.4 kB / 468.8 MB, free: 2.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03749/1.161, allocations: 5.918 MB / 474.7 MB, free: 12.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-05/1.161, allocations: 4 kB / 474.8 MB, free: 12.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.278e-06/1.161, allocations: 0 / 474.8 MB, free: 12.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.39e-05/1.161, allocations: 0 / 474.8 MB, free: 12.55 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.0109/1.172, allocations: 1.544 MB / 476.3 MB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.112e-05/1.172, allocations: 12.03 kB / 476.3 MB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009128/1.173, allocations: 79.23 kB / 476.4 MB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/1.175, allocations: 460.7 kB / 476.8 MB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.722e-05/1.175, allocations: 45.31 kB / 476.9 MB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/1.175, allocations: 67.94 kB / 476.9 MB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/1.178, allocations: 0.8068 MB / 477.8 MB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/1.178, allocations: 2.938 kB / 477.8 MB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/1.179, allocations: 28 kB / 477.8 MB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/1.179, allocations: 16 kB / 477.8 MB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003926/1.183, allocations: 1.032 MB / 478.8 MB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04159/1.224, allocations: 12.78 MB / 491.6 MB, free: 9.453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/1.228, allocations: 0.7411 MB / 492.4 MB, free: 8.699 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/1.229, allocations: 410.7 kB / 492.8 MB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05099/1.28, allocations: 12.24 MB / 0.4932 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/1.28, allocations: 43.2 kB / 0.4932 GB, free: 9.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 8.646e-06/1.28, allocations: 0 / 0.4932 GB, free: 9.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.03382/1.314, allocations: 3.392 MB / 0.4965 GB, free: 6.152 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.314, allocations: 60.41 kB / 0.4966 GB, free: 6.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/1.315, allocations: 352.5 kB / 0.4969 GB, free: 5.727 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003491/1.316, allocations: 45.7 kB / 0.4969 GB, free: 5.676 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/1.316, allocations: 240.7 kB / 0.4972 GB, free: 5.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006758/1.317, allocations: 307.5 kB / 0.4975 GB, free: 5.133 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006073/1.318, allocations: 158.6 kB / 0.4976 GB, free: 4.973 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003507/1.318, allocations: 362.8 kB / 0.498 GB, free: 4.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005371/1.323, allocations: 373.8 kB / 0.4983 GB, free: 4.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/1.326, allocations: 496.2 kB / 0.4988 GB, free: 3.727 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003476/1.329, allocations: 0.9021 MB / 0.4997 GB, free: 2.797 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/1.329, allocations: 0 / 0.4997 GB, free: 2.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004826/1.334, allocations: 1.113 MB / 0.5008 GB, free: 1.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/1.334, allocations: 11.94 kB / 0.5008 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/1.334, allocations: 3.984 kB / 0.5008 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005751/1.34, allocations: 171.4 kB / 0.5009 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/1.342, allocations: 183.8 kB / 0.5011 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/1.353, allocations: 4.12 MB / 0.5051 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.354, allocations: 24.28 kB / 0.5052 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003944/1.354, allocations: 43.98 kB / 0.5052 GB, free: 12.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001142/1.355, allocations: 225.6 kB / 0.5054 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/1.356, allocations: 59.44 kB / 0.5055 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009763/1.366, allocations: 1.284 MB / 0.5067 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/1.366, allocations: 8 kB / 0.5067 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/1.366, allocations: 7.938 kB / 0.5068 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008155/1.375, allocations: 1.324 MB / 0.508 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/1.387, allocations: 1.964 MB / 0.51 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/1.387, allocations: 0 / 0.51 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/1.389, allocations: 159.8 kB / 0.5101 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003405/1.392, allocations: 297.1 kB / 0.5104 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002386/1.393, allocations: 35.97 kB / 0.5104 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/1.394, allocations: 1.285 MB / 0.5117 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.394, allocations: 0 / 0.5117 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/1.41, allocations: 1.417 MB / 0.5131 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/1.411, allocations: 128.5 kB / 0.5132 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/1.411, allocations: 23.98 kB / 0.5132 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.413, allocations: 27.98 kB / 0.5132 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/1.413, allocations: 56.92 kB / 0.5133 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003162/1.413, allocations: 43.97 kB / 0.5133 GB, free: 4.102 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006907/1.414, allocations: 279 kB / 0.5136 GB, free: 3.832 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.61e-07/1.414, allocations: 4 kB / 0.5136 GB, free: 3.828 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.017/1.431, allocations: 1.398 MB / 0.515 GB, free: 2.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02244/1.453, allocations: 1.737 MB / 0.5167 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009131/1.463, allocations: 1.164 MB / 0.5178 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/1.463, allocations: 0 / 0.5178 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002101/1.465, allocations: 495.2 kB / 0.5183 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008442/1.473, allocations: 393.6 kB / 0.5187 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00548/1.479, allocations: 1.709 MB / 0.5203 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009651/1.48, allocations: 0.9127 MB / 0.5212 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005787/1.481, allocations: 95.41 kB / 0.5213 GB, free: 11.84 MB / 462.1 MB Notification: Performance of SimCode: time 1.363e-06/1.481, allocations: 0 / 0.5213 GB, free: 11.84 MB / 462.1 MB Notification: Performance of Templates: time 0.9164/2.397, allocations: 42.16 MB / 0.5625 GB, free: 144.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches