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.001415/0.001415, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.00134, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2867, allocations: 50.53 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05743/0.3442, allocations: 50.66 MB / 460.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006689/0.3509, allocations: 5.191 MB / 465.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003485/0.3513, allocations: 4 kB / 465.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008659/0.3522, allocations: 258.5 kB / 466 MB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007826/0.353, allocations: 362 kB / 466.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01773/0.3708, allocations: 7.124 MB / 473.5 MB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.3724, allocations: 1.087 MB / 474.6 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.3727, allocations: 145.5 kB / 474.7 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006889/0.3796, allocations: 3.597 MB / 478.3 MB, free: 12.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008205/0.3804, allocations: 398.7 kB / 478.7 MB, free: 12.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.3806, allocations: 56 kB / 478.8 MB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01855/0.3992, allocations: 9.958 MB / 488.7 MB, free: 2.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004244/0.3997, allocations: 227.4 kB / 489 MB, free: 2.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006681/0.4004, allocations: 314.9 kB / 489.3 MB, free: 2.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.4129, allocations: 5.509 MB / 494.8 MB, free: 12.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.413, allocations: 4 kB / 494.8 MB, free: 12.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.413, allocations: 0 / 494.8 MB, free: 12.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.538e-05/0.413, allocations: 0 / 494.8 MB, free: 12.51 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.00355/0.4166, allocations: 1.365 MB / 496.2 MB, free: 11.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4166, allocations: 8.031 kB / 496.2 MB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003797/0.417, allocations: 59.53 kB / 496.2 MB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/0.4176, allocations: 370.9 kB / 496.6 MB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.4176, allocations: 32.94 kB / 496.6 MB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-05/0.4177, allocations: 47.98 kB / 496.7 MB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.4191, allocations: 0.5843 MB / 497.2 MB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.4192, allocations: 0 / 497.2 MB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.4192, allocations: 24 kB / 497.3 MB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.4193, allocations: 12 kB / 497.3 MB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.4207, allocations: 0.7417 MB / 498 MB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01779/0.4385, allocations: 11.98 MB / 0.498 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.4399, allocations: 0.5346 MB / 0.4986 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003957/0.4403, allocations: 250.1 kB / 0.4988 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01566/0.456, allocations: 11.89 MB / 0.5104 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/0.4561, allocations: 46.94 kB / 0.5105 GB, free: 12.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.665e-06/0.4561, allocations: 3.938 kB / 0.5105 GB, free: 12.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006273/0.4624, allocations: 2.116 MB / 0.5125 GB, free: 9.867 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.4624, allocations: 55.97 kB / 0.5126 GB, free: 9.797 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.4628, allocations: 318.9 kB / 0.5129 GB, free: 9.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/0.4629, allocations: 37.7 kB / 0.5129 GB, free: 9.438 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.463, allocations: 200.4 kB / 0.5131 GB, free: 9.238 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.4632, allocations: 193.2 kB / 0.5133 GB, free: 9.047 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.4634, allocations: 118.1 kB / 0.5134 GB, free: 8.926 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4635, allocations: 346.8 kB / 0.5137 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.4639, allocations: 237 kB / 0.514 GB, free: 8.348 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006584/0.4646, allocations: 343.3 kB / 0.5143 GB, free: 7.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.4658, allocations: 0.6073 MB / 0.5149 GB, free: 7.336 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4658, allocations: 0 / 0.5149 GB, free: 7.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00188/0.4677, allocations: 0.7441 MB / 0.5156 GB, free: 6.578 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4678, allocations: 15.92 kB / 0.5156 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4678, allocations: 0 / 0.5156 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000507/0.4683, allocations: 102.5 kB / 0.5157 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.4688, allocations: 123.8 kB / 0.5159 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/0.4715, allocations: 3.48 MB / 0.5192 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.4719, allocations: 16 kB / 0.5193 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.23e-05/0.472, allocations: 31.98 kB / 0.5193 GB, free: 2.5 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.0003153/0.4723, allocations: 205.5 kB / 0.5195 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003328/0.4726, allocations: 39.62 kB / 0.5195 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.4743, allocations: 0.8152 MB / 0.5203 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.4743, allocations: 4 kB / 0.5203 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4743, allocations: 0 / 0.5203 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/0.4755, allocations: 0.7635 MB / 0.5211 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.4777, allocations: 1.301 MB / 0.5223 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.4777, allocations: 3.938 kB / 0.5223 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/0.4782, allocations: 99.88 kB / 0.5224 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009308/0.4791, allocations: 156.5 kB / 0.5226 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.4792, allocations: 19.98 kB / 0.5226 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004206/0.4796, allocations: 0.6407 MB / 0.5232 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4796, allocations: 4 kB / 0.5232 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.4814, allocations: 0.9093 MB / 0.5241 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.4816, allocations: 116.7 kB / 0.5242 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.4817, allocations: 11.98 kB / 0.5243 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/0.4822, allocations: 19.98 kB / 0.5243 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.4822, allocations: 32.39 kB / 0.5243 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-05/0.4823, allocations: 31.98 kB / 0.5243 GB, free: 13.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003042/0.4826, allocations: 257.9 kB / 0.5246 GB, free: 12.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4826, allocations: 0 / 0.5246 GB, free: 12.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003567/0.4862, allocations: 1.323 MB / 0.5259 GB, free: 11.51 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.006127/0.4924, allocations: 1.684 MB / 0.5275 GB, free: 9.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.4941, allocations: 0.8036 MB / 0.5283 GB, free: 8.988 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4941, allocations: 0.5625 kB / 0.5283 GB, free: 8.988 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006116/0.4947, allocations: 295.2 kB / 0.5286 GB, free: 8.699 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.4963, allocations: 284.6 kB / 0.5289 GB, free: 8.426 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.4984, allocations: 1.134 MB / 0.53 GB, free: 7.246 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.4989, allocations: 0.8365 MB / 0.5308 GB, free: 6.383 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.4992, allocations: 63.42 kB / 0.5308 GB, free: 6.324 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4992, allocations: 0 / 0.5308 GB, free: 6.324 MB / 462.1 MB Notification: Performance of Templates: time 0.232/0.7312, allocations: 34.1 MB / 0.5641 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