Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001495/0.001495, allocations: 109.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001862/0.001862, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.719/1.719, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 55.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2917, allocations: 50.54 MB / 409.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4847/0.7764, allocations: 154.4 MB / 0.5511 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.7783, allocations: 1.617 MB / 0.5527 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.7785, allocations: 2.594 kB / 0.5527 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.7789, allocations: 64.41 kB / 0.5528 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.7794, allocations: 170.8 kB / 0.5529 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.7823, allocations: 1.024 MB / 0.5539 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.7828, allocations: 351 kB / 0.5543 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.698e-05/0.7829, allocations: 10.5 kB / 0.5543 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.7832, allocations: 170.5 kB / 0.5544 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.7834, allocations: 129.4 kB / 0.5546 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.7835, allocations: 13.41 kB / 0.5546 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.7861, allocations: 1.628 MB / 0.5562 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.7863, allocations: 72.78 kB / 0.5562 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.7864, allocations: 99.75 kB / 0.5563 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.7881, allocations: 1.032 MB / 0.5573 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7881, allocations: 0 / 0.5573 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.7882, allocations: 0 / 0.5573 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.7882, allocations: 0 / 0.5573 GB, free: 0.5977 MB / 462.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.001858/0.79, allocations: 0.6994 MB / 0.558 GB, free: 16.11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.7901, allocations: 8.469 kB / 0.558 GB, free: 16.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.7902, allocations: 28.88 kB / 0.558 GB, free: 16.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.7906, allocations: 226.7 kB / 0.5583 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.7906, allocations: 11.05 kB / 0.5583 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.7906, allocations: 14.81 kB / 0.5583 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.7912, allocations: 265.4 kB / 0.5585 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.7912, allocations: 0 / 0.5585 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.7913, allocations: 7.031 kB / 0.5586 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.7913, allocations: 10.16 kB / 0.5586 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006188/0.7919, allocations: 273.1 kB / 0.5588 GB, free: 15.82 MB / 478.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.001465/0.7934, allocations: 0.7902 MB / 0.5596 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006171/0.794, allocations: 229.4 kB / 0.5598 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.7943, allocations: 135.9 kB / 0.5599 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003514/0.7947, allocations: 357 kB / 0.5603 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/0.7948, allocations: 37.28 kB / 0.5603 GB, free: 14.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.7948, allocations: 0 / 0.5603 GB, free: 14.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002378/0.7972, allocations: 0.6884 MB / 0.561 GB, free: 14.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.7972, allocations: 79.2 kB / 0.5611 GB, free: 14.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.7974, allocations: 140.8 kB / 0.5612 GB, free: 14.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.7974, allocations: 32.7 kB / 0.5612 GB, free: 14.52 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.7975, allocations: 117.9 kB / 0.5613 GB, free: 14.42 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.967e-05/0.7976, allocations: 121.9 kB / 0.5615 GB, free: 14.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.7977, allocations: 75.97 kB / 0.5615 GB, free: 14.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.7978, allocations: 327.8 kB / 0.5618 GB, free: 14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.7982, allocations: 134.3 kB / 0.562 GB, free: 14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004073/0.7986, allocations: 210.2 kB / 0.5622 GB, free: 13.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008088/0.7994, allocations: 360.8 kB / 0.5625 GB, free: 13.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7994, allocations: 2.656 kB / 0.5625 GB, free: 13.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009267/0.8004, allocations: 414.4 kB / 0.5629 GB, free: 13.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.8004, allocations: 7.875 kB / 0.5629 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.8004, allocations: 5.719 kB / 0.5629 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.8004, allocations: 3.25 kB / 0.5629 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.8009, allocations: 84.81 kB / 0.563 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.8009, allocations: 7.875 kB / 0.563 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.8013, allocations: 31.95 kB / 0.563 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.8013, allocations: 19 kB / 0.5631 GB, free: 13.78 MB / 478.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.0001447/0.8015, allocations: 141.7 kB / 0.5632 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-05/0.8016, allocations: 25.22 kB / 0.5632 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.8019, allocations: 179.1 kB / 0.5634 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.8019, allocations: 4.906 kB / 0.5634 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.8019, allocations: 0 / 0.5634 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.802, allocations: 2.953 kB / 0.5634 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.8037, allocations: 0.7813 MB / 0.5642 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.8037, allocations: 2.188 kB / 0.5642 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.8042, allocations: 81.84 kB / 0.5642 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.8042, allocations: 2.719 kB / 0.5643 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.8042, allocations: 11.84 kB / 0.5643 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.8042, allocations: 2.875 kB / 0.5643 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.8042, allocations: 5.594 kB / 0.5643 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.8056, allocations: 0.7195 MB / 0.565 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.8058, allocations: 120.7 kB / 0.5651 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.8059, allocations: 13.08 kB / 0.5651 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.8063, allocations: 19.14 kB / 0.5651 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.8063, allocations: 23.77 kB / 0.5651 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.8064, allocations: 16.38 kB / 0.5652 GB, free: 12.84 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.228e-05/0.8065, allocations: 107.7 kB / 0.5653 GB, free: 12.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.8065, allocations: 0 / 0.5653 GB, free: 12.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006756/0.8071, allocations: 153.8 kB / 0.5654 GB, free: 12.75 MB / 478.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 (38): * Single equations (assignments): 38 * 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.0004922/0.8076, allocations: 247.3 kB / 0.5656 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009219/0.8086, allocations: 349.2 kB / 0.566 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8086, allocations: 0 / 0.566 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.809, allocations: 180.7 kB / 0.5661 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007596/0.8098, allocations: 103.6 kB / 0.5662 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.8114, allocations: 0.6677 MB / 0.5669 GB, free: 12.23 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.8117, allocations: 0.7374 MB / 0.5676 GB, free: 11.53 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.8119, allocations: 44.91 kB / 0.5677 GB, free: 11.52 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.8119, allocations: 1.203 kB / 0.5677 GB, free: 11.52 MB / 478.1 MB Notification: Performance of Templates: time 0.007103/0.819, allocations: 4.8 MB / 0.5723 GB, free: 11.06 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches