Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001516/0.001516, allocations: 108.9 kB / 17.74 MB, free: 5.188 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.001658/0.001659, allocations: 193.6 kB / 18.67 MB, free: 4.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.00119, allocations: 43.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2628, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07088/0.3337, allocations: 65.58 MB / 467 MB, free: 7.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006968/0.3407, allocations: 5.445 MB / 472.4 MB, free: 1.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004791/0.3413, allocations: 8 kB / 472.4 MB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.3424, allocations: 354 kB / 472.8 MB, free: 1.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.3435, allocations: 0.5088 MB / 473.3 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01934/0.3628, allocations: 7.436 MB / 480.7 MB, free: 9.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002294/0.3651, allocations: 1.543 MB / 482.3 MB, free: 7.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003969/0.3656, allocations: 228.8 kB / 482.5 MB, free: 7.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.3668, allocations: 0.6191 MB / 483.1 MB, free: 6.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008737/0.3676, allocations: 0.5722 MB / 483.7 MB, free: 6.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.3678, allocations: 84 kB / 483.8 MB, free: 6.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0193/0.3871, allocations: 10.2 MB / 494 MB, free: 12.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005668/0.3877, allocations: 319.2 kB / 494.3 MB, free: 11.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000721/0.3885, allocations: 438.4 kB / 494.7 MB, free: 11.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01546/0.4039, allocations: 5.941 MB / 0.4889 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.015e-05/0.404, allocations: 0 / 0.4889 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.404, allocations: 0 / 0.4889 GB, free: 5.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.404, allocations: 0 / 0.4889 GB, free: 5.34 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004472/0.4085, allocations: 1.556 MB / 0.4904 GB, free: 3.734 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.4086, allocations: 12.03 kB / 0.4905 GB, free: 3.723 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004791/0.4091, allocations: 87.23 kB / 0.4905 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007192/0.4098, allocations: 448.8 kB / 0.491 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.4099, allocations: 45.31 kB / 0.491 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.653e-05/0.41, allocations: 60 kB / 0.4911 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.4116, allocations: 0.8068 MB / 0.4919 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.4117, allocations: 4 kB / 0.4919 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.462e-05/0.4117, allocations: 32 kB / 0.4919 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.4118, allocations: 16 kB / 0.4919 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.4135, allocations: 1.02 MB / 0.4929 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01733/0.4309, allocations: 12.78 MB / 0.5054 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.4327, allocations: 0.7487 MB / 0.5061 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.4332, allocations: 407.9 kB / 0.5065 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01447/0.4477, allocations: 12.24 MB / 0.5185 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.4478, allocations: 51.2 kB / 0.5185 GB, free: 2.406 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.675e-06/0.4478, allocations: 0 / 0.5185 GB, free: 2.406 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009318/0.4571, allocations: 3.38 MB / 0.5218 GB, free: 14.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.4572, allocations: 64.41 kB / 0.5219 GB, free: 14.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.4576, allocations: 352.5 kB / 0.5222 GB, free: 14.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/0.4577, allocations: 41.7 kB / 0.5222 GB, free: 14.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.4578, allocations: 240.7 kB / 0.5225 GB, free: 14.22 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.4581, allocations: 307.5 kB / 0.5228 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.4583, allocations: 162.5 kB / 0.5229 GB, free: 13.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4584, allocations: 362.8 kB / 0.5233 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005484/0.459, allocations: 373.8 kB / 0.5236 GB, free: 13.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008618/0.4599, allocations: 492.2 kB / 0.5241 GB, free: 12.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.4615, allocations: 0.906 MB / 0.525 GB, free: 11.56 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4615, allocations: 0 / 0.525 GB, free: 11.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002457/0.464, allocations: 1.117 MB / 0.5261 GB, free: 10.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.464, allocations: 8 kB / 0.5261 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4641, allocations: 4 kB / 0.5261 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008022/0.4649, allocations: 163.6 kB / 0.5262 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/0.4656, allocations: 191.7 kB / 0.5264 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/0.4684, allocations: 4.124 MB / 0.5304 GB, free: 5.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.4689, allocations: 24.03 kB / 0.5305 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/0.469, allocations: 44.06 kB / 0.5305 GB, free: 5.539 MB / 462.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.0003965/0.4694, allocations: 218.3 kB / 0.5307 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/0.4698, allocations: 63.38 kB / 0.5308 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/0.472, allocations: 1.288 MB / 0.532 GB, free: 3.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4721, allocations: 8 kB / 0.532 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.4721, allocations: 0 / 0.532 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001709/0.4738, allocations: 1.324 MB / 0.5333 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003124/0.4769, allocations: 1.964 MB / 0.5353 GB, free: 448 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.477, allocations: 0 / 0.5353 GB, free: 448 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006772/0.4776, allocations: 163.8 kB / 0.5354 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2225/0.7002, allocations: 292.4 kB / 0.5357 GB, free: 139.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000205/0.7004, allocations: 31.2 kB / 0.5357 GB, free: 139.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007972/0.7012, allocations: 1.288 MB / 0.537 GB, free: 137.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7012, allocations: 1.156 kB / 0.537 GB, free: 137.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00335/0.7046, allocations: 1.424 MB / 0.5384 GB, free: 137.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.7048, allocations: 122 kB / 0.5385 GB, free: 137.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.7049, allocations: 24.33 kB / 0.5385 GB, free: 137.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005666/0.7055, allocations: 28.25 kB / 0.5385 GB, free: 137.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.7057, allocations: 52.23 kB / 0.5386 GB, free: 137.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.7058, allocations: 45.36 kB / 0.5386 GB, free: 137.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003831/0.7062, allocations: 281.8 kB / 0.5389 GB, free: 137.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7062, allocations: 3.562 kB / 0.5389 GB, free: 137.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003814/0.71, allocations: 1.4 MB / 0.5403 GB, free: 137.3 MB / 462.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.005713/0.7157, allocations: 1.728 MB / 0.542 GB, free: 137.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.7179, allocations: 1.162 MB / 0.5431 GB, free: 136.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.718, allocations: 0 / 0.5431 GB, free: 136.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000832/0.7188, allocations: 0.4903 MB / 0.5436 GB, free: 136.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.7207, allocations: 390.2 kB / 0.5439 GB, free: 136.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.7232, allocations: 1.689 MB / 0.5456 GB, free: 135.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.7235, allocations: 0.9216 MB / 0.5465 GB, free: 134.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.7238, allocations: 91.42 kB / 0.5466 GB, free: 134.7 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.7238, allocations: 0 / 0.5466 GB, free: 134.7 MB / 462.1 MB Notification: Performance of Templates: time 0.04442/0.7683, allocations: 40.87 MB / 0.5865 GB, free: 95.7 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches