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.0008492/0.0008492, allocations: 101.3 kB / 17.01 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009355/0.0009354, allocations: 197.1 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002135/0.0002135, allocations: 8 kB / 307.1 MB, free: 1.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08447/0.0847, allocations: 51.53 MB / 358.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2029/0.2877, allocations: 46.81 MB / 405.4 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005643/0.2933, allocations: 4.851 MB / 410.3 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.2937, allocations: 6.969 kB / 410.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.2942, allocations: 165 kB / 410.5 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006825/0.2949, allocations: 341.4 kB / 410.8 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01598/0.3109, allocations: 5.241 MB / 416 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001986/0.3129, allocations: 1.333 MB / 417.4 MB, free: 304 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.3132, allocations: 109.2 kB / 417.5 MB, free: 240 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01003/0.3232, allocations: 6.124 MB / 423.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/0.3239, allocations: 394.7 kB / 424 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.116e-05/0.324, allocations: 24 kB / 424 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01539/0.3394, allocations: 8.496 MB / 432.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.3397, allocations: 195.5 kB / 432.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.3399, allocations: 129.5 kB / 432.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00583/0.3458, allocations: 3.559 MB / 436.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3458, allocations: 0 / 436.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3458, allocations: 0 / 436.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3458, allocations: 0 / 436.4 MB, free: 13.96 MB / 350.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.002749/0.3486, allocations: 1.265 MB / 437.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.3486, allocations: 11.97 kB / 437.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.3489, allocations: 63.42 kB / 437.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.3493, allocations: 354.2 kB / 438.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3494, allocations: 32.95 kB / 438.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.641e-05/0.3494, allocations: 44 kB / 438.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.3507, allocations: 0.5842 MB / 438.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.3507, allocations: 0 / 438.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.3508, allocations: 16 kB / 438.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.3508, allocations: 16 kB / 438.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.3521, allocations: 0.7417 MB / 439.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.3661, allocations: 12 MB / 451.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.3674, allocations: 0.5387 MB / 452 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.3677, allocations: 250 kB / 452.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01273/0.3805, allocations: 11.96 MB / 464.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.3805, allocations: 39 kB / 464.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.284e-06/0.3806, allocations: 0 / 464.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005467/0.386, allocations: 2.147 MB / 466.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.3861, allocations: 55.97 kB / 466.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.3864, allocations: 322.8 kB / 466.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.3865, allocations: 37.7 kB / 466.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.3866, allocations: 196.4 kB / 467 MB, free: 10.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.3868, allocations: 189.2 kB / 467.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.3868, allocations: 12 kB / 467.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3869, allocations: 346.8 kB / 467.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.3873, allocations: 245 kB / 467.8 MB, free: 9.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.3879, allocations: 335.4 kB / 468.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.3885, allocations: 284.7 kB / 468.4 MB, free: 9.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3885, allocations: 0 / 468.4 MB, free: 9.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001673/0.3902, allocations: 0.7557 MB / 469.2 MB, free: 8.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3902, allocations: 8 kB / 469.2 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3903, allocations: 0 / 469.2 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004456/0.3907, allocations: 110.5 kB / 469.3 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.3912, allocations: 124 kB / 469.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.3935, allocations: 3.275 MB / 472.7 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.3938, allocations: 39.98 kB / 472.7 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.3939, allocations: 31.98 kB / 472.7 MB, free: 4.625 MB / 382.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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.3941, allocations: 193.6 kB / 472.9 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.3944, allocations: 47.52 kB / 473 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.3958, allocations: 0.8227 MB / 473.8 MB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3958, allocations: 7.938 kB / 473.8 MB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.3958, allocations: 3.953 kB / 473.8 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001064/0.3969, allocations: 0.7635 MB / 474.6 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.3988, allocations: 1.29 MB / 475.9 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3988, allocations: 8.062 kB / 475.9 MB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.3992, allocations: 99.84 kB / 476 MB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008414/0.4, allocations: 148.6 kB / 476.1 MB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.4001, allocations: 19.98 kB / 476.1 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003494/0.4004, allocations: 0.6406 MB / 476.8 MB, free: 400 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4005, allocations: 8.031 kB / 476.8 MB, free: 392 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.402, allocations: 0.9082 MB / 477.7 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.4021, allocations: 128.7 kB / 477.8 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.4022, allocations: 12 kB / 477.8 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.4026, allocations: 27.97 kB / 477.9 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.4027, allocations: 36.39 kB / 477.9 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/0.4027, allocations: 35.97 kB / 477.9 MB, free: 15.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002646/0.403, allocations: 249.9 kB / 478.2 MB, free: 14.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.403, allocations: 0 / 478.2 MB, free: 14.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00326/0.4063, allocations: 1.308 MB / 479.5 MB, free: 13.63 MB / 398.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004605/0.4109, allocations: 1.566 MB / 481 MB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.4124, allocations: 0.8036 MB / 481.8 MB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4124, allocations: 0 / 481.8 MB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005074/0.4129, allocations: 283.9 kB / 482.1 MB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.4142, allocations: 275.3 kB / 482.4 MB, free: 10.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.4161, allocations: 1.301 MB / 483.7 MB, free: 9.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.4165, allocations: 0.8407 MB / 484.5 MB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005168/0.417, allocations: 144.4 kB / 484.7 MB, free: 8.344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.4172, allocations: 55.42 kB / 484.7 MB, free: 8.289 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4172, allocations: 0 / 484.7 MB, free: 8.289 MB / 398.1 MB Notification: Performance of Templates: time 0.06757/0.4847, allocations: 44.47 MB / 0.5168 GB, free: 11.85 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches