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.001067/0.001067, allocations: 103.7 kB / 17.71 MB, free: 5.367 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.00104/0.00104, allocations: 187.7 kB / 18.64 MB, free: 4.445 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.311/1.311, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 55.92 kB / 351.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2742, allocations: 49.43 MB / 401.3 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0308/0.305, allocations: 26.46 MB / 427.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.3078, allocations: 2.224 MB / 430 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.308, allocations: 0 / 430 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.3084, allocations: 63.64 kB / 430.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.3088, allocations: 159.1 kB / 430.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01694/0.3258, allocations: 6.511 MB / 436.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004921/0.3263, allocations: 302.9 kB / 437.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.3263, allocations: 13.12 kB / 437.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.3266, allocations: 139.5 kB / 437.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.3268, allocations: 115.6 kB / 437.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.3268, allocations: 12 kB / 437.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01692/0.3438, allocations: 9.503 MB / 446.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.3439, allocations: 71.78 kB / 446.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.3441, allocations: 91.66 kB / 447 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.3561, allocations: 4.694 MB / 451.7 MB, free: 6.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3562, allocations: 3.938 kB / 451.7 MB, free: 6.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3562, allocations: 0 / 451.7 MB, free: 6.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.3562, allocations: 0 / 451.7 MB, free: 6.426 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.003672/0.3599, allocations: 1.119 MB / 452.8 MB, free: 5.254 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.36, allocations: 12.03 kB / 452.8 MB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.3601, allocations: 28.48 kB / 452.8 MB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.3604, allocations: 206.8 kB / 453 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3604, allocations: 12.33 kB / 453.1 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.3605, allocations: 20 kB / 453.1 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/0.3612, allocations: 289.3 kB / 453.4 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.3612, allocations: 0 / 453.4 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.3613, allocations: 12 kB / 453.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.3613, allocations: 4 kB / 453.4 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007524/0.362, allocations: 315.6 kB / 453.7 MB, free: 4.324 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.001459/0.3635, allocations: 0.8322 MB / 454.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007444/0.3643, allocations: 249.2 kB / 454.8 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.3646, allocations: 133.6 kB / 454.9 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.016/0.3806, allocations: 12.85 MB / 467.7 MB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.3807, allocations: 38.56 kB / 467.8 MB, free: 3.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.134e-06/0.3807, allocations: 0 / 467.8 MB, free: 3.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003061/0.3838, allocations: 0.6889 MB / 468.5 MB, free: 2.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.3838, allocations: 81.11 kB / 468.5 MB, free: 2.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.384, allocations: 133.7 kB / 468.7 MB, free: 2.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.384, allocations: 29.7 kB / 468.7 MB, free: 2.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.3841, allocations: 112.8 kB / 468.8 MB, free: 2.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.3842, allocations: 130.1 kB / 468.9 MB, free: 2.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.3844, allocations: 65.69 kB / 469 MB, free: 2.332 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3845, allocations: 334.8 kB / 469.3 MB, free: 1.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.3849, allocations: 131.9 kB / 469.5 MB, free: 1.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.3854, allocations: 215.5 kB / 469.7 MB, free: 1.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000922/0.3863, allocations: 365.2 kB / 470 MB, free: 1.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3863, allocations: 0 / 470 MB, free: 1.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001202/0.3875, allocations: 421 kB / 470.4 MB, free: 0.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3876, allocations: 4.219 kB / 470.4 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.3876, allocations: 12 kB / 470.5 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.3876, allocations: 4 kB / 470.5 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/0.3881, allocations: 87.88 kB / 470.5 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.3881, allocations: 7.938 kB / 470.5 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.3884, allocations: 23.89 kB / 470.6 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.3885, allocations: 19.98 kB / 470.6 MB, free: 0.6758 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.0001731/0.3887, allocations: 153.6 kB / 470.7 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.3888, allocations: 15.91 kB / 470.8 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.3893, allocations: 190.2 kB / 470.9 MB, free: 320 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3893, allocations: 11.94 kB / 471 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3894, allocations: 0 / 471 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.3894, allocations: 0 / 471 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.3912, allocations: 0.7596 MB / 471.7 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3912, allocations: 4 kB / 471.7 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.3917, allocations: 79.88 kB / 471.8 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.3917, allocations: 8.156 kB / 471.8 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.3917, allocations: 11.98 kB / 471.8 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.3917, allocations: 4 kB / 471.8 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3917, allocations: 0 / 471.8 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.3933, allocations: 0.7075 MB / 472.5 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.3935, allocations: 124.8 kB / 472.7 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.3935, allocations: 8 kB / 472.7 MB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.3939, allocations: 15.98 kB / 472.7 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.394, allocations: 27.91 kB / 472.7 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.394, allocations: 19.98 kB / 472.7 MB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.329e-05/0.3941, allocations: 107.2 kB / 472.8 MB, free: 14.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3941, allocations: 0 / 472.8 MB, free: 14.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003107/0.3972, allocations: 0.9409 MB / 473.8 MB, free: 13.36 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.005087/0.4023, allocations: 1.238 MB / 475 MB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.4036, allocations: 350.7 kB / 475.3 MB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.4036, allocations: 3.938 kB / 475.3 MB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.4042, allocations: 175.8 kB / 475.5 MB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008734/0.4051, allocations: 96.91 kB / 475.6 MB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.4067, allocations: 0.6301 MB / 476.2 MB, free: 10.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.4071, allocations: 0.7371 MB / 477 MB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.4073, allocations: 51.41 kB / 477 MB, free: 10.01 MB / 398.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4073, allocations: 0 / 477 MB, free: 10.01 MB / 398.1 MB Notification: Performance of Templates: time 0.03497/0.4423, allocations: 19.7 MB / 496.7 MB, free: 6.293 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/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