Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 109 kB / 17.06 MB, free: 5.961 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.001094/0.001094, allocations: 200 kB / 18 MB, free: 5.051 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009468/0.0009468, allocations: 43.94 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2424, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02878/0.2712, allocations: 26.44 MB / 427.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.2739, allocations: 2.224 MB / 429.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.274, allocations: 7.938 kB / 429.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.2743, allocations: 63.64 kB / 429.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.2747, allocations: 147.2 kB / 429.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01429/0.289, allocations: 6.523 MB / 436.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.2894, allocations: 314.9 kB / 436.4 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.2895, allocations: 9.125 kB / 436.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.2897, allocations: 131.5 kB / 436.6 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.2899, allocations: 119.6 kB / 436.7 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.2899, allocations: 12 kB / 436.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01547/0.3054, allocations: 9.503 MB / 446.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.3056, allocations: 63.86 kB / 446.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.3057, allocations: 95.58 kB / 446.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008917/0.3146, allocations: 4.712 MB / 451.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3147, allocations: 0 / 451.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3147, allocations: 0 / 451.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3147, allocations: 0 / 451.1 MB, free: 6.395 MB / 366.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.002899/0.3176, allocations: 1.15 MB / 452.2 MB, free: 5.188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3176, allocations: 12.03 kB / 452.2 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.3178, allocations: 24.59 kB / 452.3 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.318, allocations: 226.8 kB / 452.5 MB, free: 4.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3181, allocations: 16.27 kB / 452.5 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.3181, allocations: 12 kB / 452.5 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/0.3188, allocations: 285.4 kB / 452.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3188, allocations: 0 / 452.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.3189, allocations: 8 kB / 452.8 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.3189, allocations: 11.98 kB / 452.8 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000785/0.3197, allocations: 315.6 kB / 453.1 MB, free: 4.246 MB / 366.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.001368/0.3211, allocations: 0.8246 MB / 453.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.3218, allocations: 249.1 kB / 454.2 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.3221, allocations: 137.6 kB / 454.3 MB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01462/0.3367, allocations: 12.85 MB / 467.2 MB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.3368, allocations: 46.48 kB / 467.2 MB, free: 3.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.875e-06/0.3368, allocations: 0 / 467.2 MB, free: 3.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002806/0.3397, allocations: 0.6849 MB / 467.9 MB, free: 2.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.3397, allocations: 89.09 kB / 468 MB, free: 2.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.3398, allocations: 125.8 kB / 468.1 MB, free: 2.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.3399, allocations: 33.7 kB / 468.1 MB, free: 2.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.3399, allocations: 108.9 kB / 468.2 MB, free: 2.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.859e-05/0.34, allocations: 134.8 kB / 468.4 MB, free: 2.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.3402, allocations: 73.58 kB / 468.4 MB, free: 2.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3403, allocations: 330.8 kB / 468.8 MB, free: 1.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.3407, allocations: 139.9 kB / 468.9 MB, free: 1.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.3412, allocations: 203.5 kB / 469.1 MB, free: 1.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009129/0.3421, allocations: 369.4 kB / 469.5 MB, free: 1.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3421, allocations: 0 / 469.5 MB, free: 1.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001143/0.3432, allocations: 413.2 kB / 469.9 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3433, allocations: 8 kB / 469.9 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3433, allocations: 0 / 469.9 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3433, allocations: 4 kB / 469.9 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.3438, allocations: 100.1 kB / 470 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.3438, allocations: 15.81 kB / 470 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.3441, allocations: 23.97 kB / 470 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.3441, allocations: 16 kB / 470 MB, free: 0.5898 MB / 382.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.0001341/0.3443, allocations: 145.7 kB / 470.2 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.3444, allocations: 15.91 kB / 470.2 MB, free: 432 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004894/0.3449, allocations: 186.4 kB / 470.4 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3449, allocations: 15.88 kB / 470.4 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.345, allocations: 0 / 470.4 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.345, allocations: 3.984 kB / 470.4 MB, free: 224 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.3466, allocations: 0.77 MB / 471.2 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3466, allocations: 0 / 471.2 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.347, allocations: 75.89 kB / 471.2 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3471, allocations: 4 kB / 471.2 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.3471, allocations: 15.98 kB / 471.2 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.3471, allocations: 0 / 471.2 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3471, allocations: 8.156 kB / 471.3 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.3486, allocations: 0.7037 MB / 472 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.3487, allocations: 120.9 kB / 472.1 MB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.3488, allocations: 12.06 kB / 472.1 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.3492, allocations: 23.97 kB / 472.1 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.3492, allocations: 31.84 kB / 472.1 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.3492, allocations: 16 kB / 472.2 MB, free: 14.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.928e-05/0.3493, allocations: 99.25 kB / 472.3 MB, free: 14.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3493, allocations: 0 / 472.3 MB, free: 14.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002258/0.3516, allocations: 0.9472 MB / 473.2 MB, free: 13.27 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.003833/0.3554, allocations: 1.254 MB / 474.5 MB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.357, allocations: 354.5 kB / 474.8 MB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.357, allocations: 0 / 474.8 MB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.3576, allocations: 176.4 kB / 475 MB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.3587, allocations: 99.09 kB / 475.1 MB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.3607, allocations: 0.6152 MB / 475.7 MB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.3612, allocations: 0.7332 MB / 476.4 MB, free: 9.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005676/0.3617, allocations: 89.81 kB / 476.5 MB, free: 9.895 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.362, allocations: 43.41 kB / 476.5 MB, free: 9.852 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.362, allocations: 0 / 476.5 MB, free: 9.852 MB / 398.1 MB Notification: Performance of Templates: time 0.07009/0.4321, allocations: 29.45 MB / 0.4941 GB, free: 12.42 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches