Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001926/0.001926, allocations: 109.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002394/0.002394, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.764/1.764, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 71.88 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3097, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05513/0.3649, allocations: 50.65 MB / 460.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006382/0.3713, allocations: 5.191 MB / 465.8 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004009/0.3717, allocations: 7.938 kB / 465.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008761/0.3726, allocations: 246.6 kB / 466 MB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008581/0.3736, allocations: 369.9 kB / 466.4 MB, free: 8.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01846/0.3921, allocations: 7.121 MB / 473.5 MB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.3936, allocations: 1.091 MB / 474.6 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.3939, allocations: 149.5 kB / 474.8 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006906/0.4008, allocations: 3.59 MB / 478.3 MB, free: 12.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008193/0.4017, allocations: 402.6 kB / 478.7 MB, free: 12.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.4019, allocations: 60 kB / 478.8 MB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01866/0.4206, allocations: 9.954 MB / 488.7 MB, free: 2.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.421, allocations: 227.5 kB / 489 MB, free: 2.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005768/0.4216, allocations: 310.9 kB / 489.3 MB, free: 2.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.434, allocations: 5.516 MB / 494.8 MB, free: 12.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4341, allocations: 0 / 494.8 MB, free: 12.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4341, allocations: 0 / 494.8 MB, free: 12.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.54e-05/0.4341, allocations: 0 / 494.8 MB, free: 12.5 MB / 414.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.003723/0.4378, allocations: 1.365 MB / 496.2 MB, free: 11.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4379, allocations: 8.031 kB / 496.2 MB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.4383, allocations: 63.52 kB / 496.2 MB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007229/0.4391, allocations: 366.9 kB / 496.6 MB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.4391, allocations: 29 kB / 496.6 MB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.865e-05/0.4392, allocations: 44 kB / 496.7 MB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.4407, allocations: 0.5921 MB / 497.2 MB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.4407, allocations: 0 / 497.2 MB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-05/0.4408, allocations: 16 kB / 497.3 MB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.4408, allocations: 12 kB / 497.3 MB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.4422, allocations: 0.7495 MB / 498 MB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01652/0.4588, allocations: 11.97 MB / 0.498 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.4601, allocations: 0.5196 MB / 0.4985 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.4605, allocations: 261.4 kB / 0.4988 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01404/0.4746, allocations: 11.9 MB / 0.5104 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.758e-05/0.4747, allocations: 39 kB / 0.5105 GB, free: 12.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.855e-06/0.4747, allocations: 3.938 kB / 0.5105 GB, free: 12.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.00594/0.4807, allocations: 2.124 MB / 0.5125 GB, free: 9.859 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.4807, allocations: 59.97 kB / 0.5126 GB, free: 9.785 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.4811, allocations: 318.8 kB / 0.5129 GB, free: 9.469 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.996e-05/0.4812, allocations: 41.7 kB / 0.5129 GB, free: 9.422 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.4813, allocations: 196.4 kB / 0.5131 GB, free: 9.227 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.4815, allocations: 193.2 kB / 0.5133 GB, free: 9.035 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.4817, allocations: 118.1 kB / 0.5134 GB, free: 8.914 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.4818, allocations: 346.8 kB / 0.5137 GB, free: 8.566 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.4822, allocations: 237 kB / 0.514 GB, free: 8.336 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.4828, allocations: 347.3 kB / 0.5143 GB, free: 7.961 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.4839, allocations: 0.5917 MB / 0.5149 GB, free: 7.336 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.484, allocations: 4 kB / 0.5149 GB, free: 7.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001822/0.4858, allocations: 0.7518 MB / 0.5156 GB, free: 6.566 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.4858, allocations: 7.938 kB / 0.5156 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4858, allocations: 4 kB / 0.5156 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005203/0.4864, allocations: 106.7 kB / 0.5157 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.4869, allocations: 127.8 kB / 0.5159 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/0.4896, allocations: 3.476 MB / 0.5192 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.4899, allocations: 15.98 kB / 0.5193 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.619e-05/0.49, allocations: 28 kB / 0.5193 GB, free: 2.492 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.000308/0.4904, allocations: 205.7 kB / 0.5195 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/0.4907, allocations: 43.62 kB / 0.5195 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.4923, allocations: 0.8112 MB / 0.5203 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.4924, allocations: 8 kB / 0.5203 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.4924, allocations: 0 / 0.5203 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001158/0.4935, allocations: 0.7596 MB / 0.5211 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.4958, allocations: 1.305 MB / 0.5223 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4958, allocations: 0 / 0.5223 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/0.4964, allocations: 99.88 kB / 0.5224 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.4975, allocations: 160.5 kB / 0.5226 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.633e-05/0.4976, allocations: 16 kB / 0.5226 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005933/0.4982, allocations: 0.6445 MB / 0.5232 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.4982, allocations: 4.125 kB / 0.5232 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.501, allocations: 0.9093 MB / 0.5241 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.5012, allocations: 116.7 kB / 0.5242 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.5013, allocations: 12 kB / 0.5243 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00068/0.502, allocations: 19.98 kB / 0.5243 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.5022, allocations: 36.33 kB / 0.5243 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.5023, allocations: 35.98 kB / 0.5243 GB, free: 13.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004623/0.5028, allocations: 253.9 kB / 0.5246 GB, free: 12.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5028, allocations: 0 / 0.5246 GB, free: 12.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005422/0.5082, allocations: 1.323 MB / 0.5259 GB, free: 11.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006964/0.5152, allocations: 1.687 MB / 0.5275 GB, free: 9.805 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00192/0.5172, allocations: 0.8002 MB / 0.5283 GB, free: 8.977 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5172, allocations: 0 / 0.5283 GB, free: 8.977 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006071/0.5178, allocations: 291.2 kB / 0.5286 GB, free: 8.691 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.5195, allocations: 288.8 kB / 0.5289 GB, free: 8.414 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.5216, allocations: 1.127 MB / 0.53 GB, free: 7.242 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.522, allocations: 0.8365 MB / 0.5308 GB, free: 6.379 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.5223, allocations: 71.41 kB / 0.5308 GB, free: 6.312 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5223, allocations: 0 / 0.5308 GB, free: 6.312 MB / 462.1 MB Notification: Performance of Templates: time 0.2542/0.7765, allocations: 34.14 MB / 0.5642 GB, free: 111.7 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches