Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001413/0.001413, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001774/0.001774, allocations: 211.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.414/1.414, allocations: 227.7 MB / 247.9 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 59.91 kB / 359.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2285, allocations: 50.55 MB / 410.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03485/0.2633, allocations: 26.7 MB / 436.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003249/0.2666, allocations: 2.251 MB / 439.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.2666, allocations: 0 / 439.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.267, allocations: 59.64 kB / 439.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.2674, allocations: 163 kB / 439.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01554/0.2829, allocations: 6.546 MB / 445.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005189/0.2834, allocations: 334.7 kB / 446.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.523e-05/0.2835, allocations: 13.56 kB / 446.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.2837, allocations: 139.5 kB / 446.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.284, allocations: 127.5 kB / 446.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.284, allocations: 15.94 kB / 446.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01662/0.3006, allocations: 9.526 MB / 456.1 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.3007, allocations: 75.72 kB / 456.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.3009, allocations: 111.6 kB / 456.2 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.3121, allocations: 4.736 MB / 461 MB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3121, allocations: 0 / 461 MB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3121, allocations: 0 / 461 MB, free: 14.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3121, allocations: 0 / 461 MB, free: 14.69 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003278/0.3154, allocations: 1.177 MB / 462.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3154, allocations: 12.03 kB / 462.2 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.3156, allocations: 28.2 kB / 462.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.3159, allocations: 214.8 kB / 462.4 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3159, allocations: 8.328 kB / 462.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.3159, allocations: 23.95 kB / 462.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007542/0.3167, allocations: 293.3 kB / 462.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3167, allocations: 3.984 kB / 462.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.3167, allocations: 12 kB / 462.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.3168, allocations: 11.88 kB / 462.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008142/0.3176, allocations: 315.7 kB / 463.1 MB, free: 12.5 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.3191, allocations: 0.8167 MB / 463.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.3199, allocations: 248.4 kB / 464.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.3202, allocations: 121.6 kB / 464.2 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01692/0.3371, allocations: 12.86 MB / 477.1 MB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.3372, allocations: 34.56 kB / 477.1 MB, free: 11.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.284e-06/0.3372, allocations: 4 kB / 477.1 MB, free: 11.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002956/0.3401, allocations: 0.7012 MB / 477.8 MB, free: 11.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.3402, allocations: 81.11 kB / 477.9 MB, free: 11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.3403, allocations: 141.8 kB / 478.1 MB, free: 10.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.3404, allocations: 29.7 kB / 478.1 MB, free: 10.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.3404, allocations: 124.9 kB / 478.2 MB, free: 10.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.3406, allocations: 122.9 kB / 478.3 MB, free: 10.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.3407, allocations: 69.64 kB / 478.4 MB, free: 10.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3408, allocations: 334.8 kB / 478.7 MB, free: 10.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.3412, allocations: 135.9 kB / 478.9 MB, free: 10.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.3418, allocations: 215.5 kB / 479.1 MB, free: 9.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009875/0.3427, allocations: 374.4 kB / 479.4 MB, free: 9.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.3427, allocations: 4 kB / 479.4 MB, free: 9.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001233/0.344, allocations: 421 kB / 479.8 MB, free: 8.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.344, allocations: 10.97 kB / 479.9 MB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.344, allocations: 4 kB / 479.9 MB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.344, allocations: 11.92 kB / 479.9 MB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.3445, allocations: 83.88 kB / 480 MB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3445, allocations: 4 kB / 480 MB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.3448, allocations: 36.09 kB / 480 MB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.3449, allocations: 15.98 kB / 480 MB, free: 8.816 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.345, allocations: 141.7 kB / 480.1 MB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.3452, allocations: 23.89 kB / 480.2 MB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/0.3457, allocations: 194.7 kB / 480.4 MB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.3457, allocations: 4 kB / 480.4 MB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3457, allocations: 0 / 480.4 MB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3457, allocations: 0 / 480.4 MB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.3475, allocations: 0.7869 MB / 481.2 MB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3475, allocations: 4.031 kB / 481.2 MB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.348, allocations: 79.88 kB / 481.2 MB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.348, allocations: 0 / 481.2 MB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.348, allocations: 19.98 kB / 481.3 MB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.348, allocations: 0 / 481.3 MB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.348, allocations: 4 kB / 481.3 MB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.3496, allocations: 0.7181 MB / 482 MB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.3498, allocations: 120.9 kB / 482.1 MB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.3498, allocations: 8 kB / 482.1 MB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.3502, allocations: 27.97 kB / 482.1 MB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.3502, allocations: 35.84 kB / 482.2 MB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.3503, allocations: 16 kB / 482.2 MB, free: 6.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.762e-05/0.3504, allocations: 117.7 kB / 482.3 MB, free: 6.398 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3504, allocations: 0 / 482.3 MB, free: 6.398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002585/0.353, allocations: 0.9628 MB / 483.3 MB, free: 5.434 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003681/0.3566, allocations: 1.26 MB / 484.5 MB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.3577, allocations: 335.7 kB / 484.8 MB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3577, allocations: 0 / 484.8 MB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000489/0.3582, allocations: 171.7 kB / 485 MB, free: 3.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.3589, allocations: 103.8 kB / 485.1 MB, free: 3.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.3603, allocations: 0.6166 MB / 485.7 MB, free: 2.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.3607, allocations: 0.7451 MB / 486.5 MB, free: 2.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003493/0.3611, allocations: 90.16 kB / 486.6 MB, free: 2.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.3612, allocations: 35.42 kB / 486.6 MB, free: 2.016 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3612, allocations: 0 / 486.6 MB, free: 2.016 MB / 398.1 MB Notification: Performance of Templates: time 0.04393/0.4051, allocations: 29.95 MB / 0.5044 GB, free: 4.102 MB / 430.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches