Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 117.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 59.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2276, allocations: 50.53 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02994/0.2575, allocations: 26.64 MB / 435.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.2603, allocations: 2.247 MB / 438.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.432e-05/0.2604, allocations: 0 / 438.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.2608, allocations: 63.58 kB / 438.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.2612, allocations: 163 kB / 438.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01528/0.2765, allocations: 6.52 MB / 444.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000526/0.277, allocations: 334.7 kB / 445.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.2771, allocations: 13.56 kB / 445.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.2774, allocations: 143.5 kB / 445.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.2776, allocations: 123.6 kB / 445.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.2777, allocations: 12 kB / 445.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01616/0.2938, allocations: 9.534 MB / 455 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.294, allocations: 75.72 kB / 455.1 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.2942, allocations: 107.6 kB / 455.2 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008814/0.303, allocations: 4.736 MB / 459.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.303, allocations: 0 / 459.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.303, allocations: 0 / 459.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.303, allocations: 0 / 459.9 MB, free: 14.78 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.003058/0.3061, allocations: 1.183 MB / 461.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.3061, allocations: 12.03 kB / 461.1 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.3063, allocations: 28.22 kB / 461.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.3066, allocations: 222.8 kB / 461.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3066, allocations: 8.328 kB / 461.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.3066, allocations: 23.95 kB / 461.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006908/0.3073, allocations: 285.4 kB / 461.7 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3074, allocations: 0 / 461.7 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.3074, allocations: 8 kB / 461.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.3074, allocations: 15.94 kB / 461.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.3082, allocations: 311.7 kB / 462 MB, free: 12.59 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.00137/0.3096, allocations: 0.8284 MB / 462.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006911/0.3103, allocations: 245.2 kB / 463.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.3106, allocations: 141.6 kB / 463.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/0.325, allocations: 12.85 MB / 476.1 MB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.325, allocations: 42.56 kB / 476.1 MB, free: 11.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.874e-06/0.325, allocations: 0 / 476.1 MB, free: 11.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002721/0.3278, allocations: 0.7104 MB / 476.8 MB, free: 11.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3278, allocations: 81.11 kB / 476.9 MB, free: 11.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.3279, allocations: 145.8 kB / 477 MB, free: 10.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.328, allocations: 29.7 kB / 477.1 MB, free: 10.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.328, allocations: 116.9 kB / 477.2 MB, free: 10.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.478e-05/0.3281, allocations: 130.8 kB / 477.3 MB, free: 10.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.3283, allocations: 73.64 kB / 477.4 MB, free: 10.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.3284, allocations: 330.8 kB / 477.7 MB, free: 10.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.3288, allocations: 135.9 kB / 477.8 MB, free: 10.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.3292, allocations: 211.6 kB / 478 MB, free: 9.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008901/0.3301, allocations: 363.2 kB / 478.4 MB, free: 9.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.3302, allocations: 0 / 478.4 MB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001124/0.3313, allocations: 428.6 kB / 478.8 MB, free: 9.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3313, allocations: 10.97 kB / 478.8 MB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3313, allocations: 0 / 478.8 MB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3314, allocations: 7.938 kB / 478.8 MB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004639/0.3318, allocations: 100 kB / 478.9 MB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3318, allocations: 4 kB / 478.9 MB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.3321, allocations: 27.88 kB / 479 MB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.3322, allocations: 23.98 kB / 479 MB, free: 8.879 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.0001251/0.3323, allocations: 133.8 kB / 479.1 MB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.3325, allocations: 19.91 kB / 479.1 MB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.3329, allocations: 194.6 kB / 479.3 MB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.333, allocations: 7.984 kB / 479.3 MB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.333, allocations: 0 / 479.3 MB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.333, allocations: 0 / 479.3 MB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.3346, allocations: 0.7869 MB / 480.1 MB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3347, allocations: 4 kB / 480.1 MB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.3351, allocations: 75.88 kB / 480.2 MB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3351, allocations: 4 kB / 480.2 MB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.3351, allocations: 15.98 kB / 480.2 MB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.3351, allocations: 4 kB / 480.2 MB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/0.3352, allocations: 4.156 kB / 480.2 MB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.3367, allocations: 0.7142 MB / 480.9 MB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.3368, allocations: 124.9 kB / 481.1 MB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.3369, allocations: 8 kB / 481.1 MB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.3372, allocations: 28.03 kB / 481.1 MB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.3373, allocations: 31.91 kB / 481.1 MB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.3373, allocations: 12 kB / 481.1 MB, free: 6.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.453e-05/0.3374, allocations: 118 kB / 481.3 MB, free: 6.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3374, allocations: 0 / 481.3 MB, free: 6.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002281/0.3397, allocations: 0.9627 MB / 482.2 MB, free: 5.508 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.003724/0.3434, allocations: 1.264 MB / 483.5 MB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009887/0.3444, allocations: 351.6 kB / 483.8 MB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3444, allocations: 0 / 483.8 MB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.3449, allocations: 184.5 kB / 484 MB, free: 3.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/0.3457, allocations: 98.66 kB / 484.1 MB, free: 3.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.347, allocations: 0.6244 MB / 484.7 MB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.3473, allocations: 0.7335 MB / 485.5 MB, free: 2.184 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003161/0.3476, allocations: 86.22 kB / 485.5 MB, free: 2.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.3477, allocations: 43.36 kB / 485.6 MB, free: 2.059 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3477, allocations: 0 / 485.6 MB, free: 2.059 MB / 398.1 MB Notification: Performance of Templates: time 0.03574/0.3835, allocations: 29.9 MB / 0.5034 GB, free: 4.172 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches