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.0009478/0.0009479, allocations: 94.11 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 204.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002522/0.0002523, allocations: 4 kB / 306.6 MB, free: 1.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.09246, allocations: 51.49 MB / 358.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2203/0.3128, allocations: 39.16 MB / 397.2 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005816/0.3187, allocations: 4.104 MB / 401.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000377/0.3191, allocations: 3.219 kB / 401.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007785/0.3199, allocations: 195.3 kB / 401.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000612/0.3205, allocations: 240.4 kB / 401.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01923/0.3397, allocations: 5.058 MB / 406.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001521/0.3413, allocations: 0.5884 MB / 407.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.3415, allocations: 106.4 kB / 407.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0089/0.3504, allocations: 5.962 MB / 413.5 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.3508, allocations: 267.1 kB / 413.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.963e-05/0.3509, allocations: 28 kB / 413.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01505/0.366, allocations: 8.419 MB / 422.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002679/0.3663, allocations: 175.6 kB / 422.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.3665, allocations: 125.5 kB / 422.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006637/0.3731, allocations: 3.442 MB / 425.9 MB, free: 7.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3732, allocations: 0 / 425.9 MB, free: 7.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3732, allocations: 0 / 425.9 MB, free: 7.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3732, allocations: 0 / 425.9 MB, free: 7.875 MB / 334.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.002694/0.3759, allocations: 1.23 MB / 427.1 MB, free: 6.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3759, allocations: 8.031 kB / 427.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.3762, allocations: 55.44 kB / 427.2 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.3767, allocations: 352 kB / 427.5 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.3767, allocations: 36.95 kB / 427.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.3768, allocations: 40 kB / 427.6 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.378, allocations: 0.5881 MB / 428.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.378, allocations: 0 / 428.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/0.3781, allocations: 24 kB / 428.2 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.3781, allocations: 8 kB / 428.2 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.3794, allocations: 0.7417 MB / 429 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01554/0.3949, allocations: 12.02 MB / 441 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.3962, allocations: 0.5354 MB / 441.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01428/0.4105, allocations: 11.95 MB / 453.5 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.4106, allocations: 43 kB / 453.5 MB, free: 7.773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 2.745e-06/0.4106, allocations: 0 / 453.5 MB, free: 7.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=55): time 0.005515/0.4162, allocations: 2.137 MB / 455.7 MB, free: 5.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.4162, allocations: 59.97 kB / 455.7 MB, free: 5.473 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.4165, allocations: 314.9 kB / 456 MB, free: 5.156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.4166, allocations: 37.7 kB / 456.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.4167, allocations: 200.3 kB / 456.2 MB, free: 4.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.4169, allocations: 189.3 kB / 456.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.4169, allocations: 8 kB / 456.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.417, allocations: 350.8 kB / 456.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.4174, allocations: 241 kB / 457 MB, free: 4.129 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.418, allocations: 339.3 kB / 457.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/0.4186, allocations: 288.7 kB / 457.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4186, allocations: 0 / 457.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00175/0.4204, allocations: 0.7633 MB / 458.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.4204, allocations: 8 kB / 458.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4204, allocations: 0 / 458.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004852/0.4209, allocations: 110.8 kB / 458.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.4214, allocations: 123.8 kB / 458.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.4237, allocations: 3.287 MB / 461.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.4241, allocations: 35.89 kB / 462 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.4242, allocations: 40.06 kB / 462 MB, free: 14.8 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.0002565/0.4245, allocations: 189.6 kB / 462.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.4247, allocations: 39.62 kB / 462.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.4262, allocations: 0.8267 MB / 463 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4263, allocations: 4 kB / 463 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4263, allocations: 3.953 kB / 463.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001074/0.4274, allocations: 0.7596 MB / 463.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.4294, allocations: 1.305 MB / 465.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4294, allocations: 0 / 465.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/0.4298, allocations: 103.8 kB / 465.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009049/0.4307, allocations: 148.7 kB / 465.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.4308, allocations: 15.98 kB / 465.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003551/0.4311, allocations: 0.6407 MB / 466 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4312, allocations: 0 / 466 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.4327, allocations: 0.935 MB / 467 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.4329, allocations: 128.7 kB / 467.1 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.4329, allocations: 12 kB / 467.1 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/0.4334, allocations: 43.81 kB / 467.1 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.4334, allocations: 36.34 kB / 467.2 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/0.4335, allocations: 31.97 kB / 467.2 MB, free: 9.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002579/0.4338, allocations: 249.9 kB / 467.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4338, allocations: 3.938 kB / 467.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003392/0.4372, allocations: 1.316 MB / 468.8 MB, free: 7.777 MB / 382.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.004625/0.4418, allocations: 1.558 MB / 470.3 MB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.4433, allocations: 0.8003 MB / 471.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.4433, allocations: 4.062 kB / 471.1 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005341/0.4439, allocations: 295.1 kB / 471.4 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.4452, allocations: 259.6 kB / 471.7 MB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.447, allocations: 1.296 MB / 473 MB, free: 3.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.4474, allocations: 0.8446 MB / 473.8 MB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005023/0.4479, allocations: 144.3 kB / 474 MB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.448, allocations: 63.34 kB / 474 MB, free: 2.43 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.448, allocations: 0 / 474 MB, free: 2.43 MB / 382.1 MB Notification: Performance of Templates: time 0.06236/0.5104, allocations: 44.59 MB / 0.5065 GB, free: 5.867 MB / 430.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","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches