Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 107.1 kB / 17.74 MB, free: 5.316 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.001756/0.001756, allocations: 188.2 kB / 18.67 MB, free: 4.395 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.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009621/0.0009621, allocations: 47.92 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.262, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1583/0.4203, allocations: 151.4 MB / 0.5399 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2551/0.6755, allocations: 1.589 MB / 0.5414 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.6757, allocations: 1.094 kB / 0.5414 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.6762, allocations: 68.17 kB / 0.5415 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005018/0.6767, allocations: 158.7 kB / 0.5416 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.6798, allocations: 1.025 MB / 0.5426 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006052/0.6804, allocations: 327.4 kB / 0.5429 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.788e-05/0.6804, allocations: 9.672 kB / 0.543 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.6808, allocations: 162 kB / 0.5431 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.6811, allocations: 120.3 kB / 0.5432 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/0.6811, allocations: 13.56 kB / 0.5432 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.6842, allocations: 1.589 MB / 0.5448 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.6843, allocations: 68.58 kB / 0.5449 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.6845, allocations: 97.73 kB / 0.5449 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.6861, allocations: 0.9885 MB / 0.5459 GB, free: 1.629 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6861, allocations: 1.094 kB / 0.5459 GB, free: 1.629 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6861, allocations: 1.094 kB / 0.5459 GB, free: 1.629 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.6861, allocations: 3.531 kB / 0.5459 GB, free: 1.629 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.001857/0.688, allocations: 0.6723 MB / 0.5466 GB, free: 17.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.6881, allocations: 14.88 kB / 0.5466 GB, free: 17.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.6882, allocations: 19.56 kB / 0.5466 GB, free: 17.15 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.6885, allocations: 207.8 kB / 0.5468 GB, free: 16.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.6885, allocations: 16.08 kB / 0.5468 GB, free: 16.95 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.6885, allocations: 22.34 kB / 0.5468 GB, free: 16.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.6891, allocations: 260.5 kB / 0.5471 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.6891, allocations: 5.312 kB / 0.5471 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.6891, allocations: 8.625 kB / 0.5471 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.6892, allocations: 4.781 kB / 0.5471 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.6898, allocations: 262.8 kB / 0.5474 GB, free: 16.89 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.001336/0.6911, allocations: 0.7989 MB / 0.5481 GB, free: 16.39 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.6917, allocations: 219.5 kB / 0.5483 GB, free: 16.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.692, allocations: 135 kB / 0.5485 GB, free: 16.33 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003403/0.6923, allocations: 354.7 kB / 0.5488 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.6924, allocations: 46.5 kB / 0.5489 GB, free: 15.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.6924, allocations: 0 / 0.5489 GB, free: 15.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002264/0.6946, allocations: 0.675 MB / 0.5495 GB, free: 15.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.6947, allocations: 79.61 kB / 0.5496 GB, free: 15.74 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.6948, allocations: 124.7 kB / 0.5497 GB, free: 15.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.6949, allocations: 29.08 kB / 0.5497 GB, free: 15.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.6949, allocations: 109.7 kB / 0.5498 GB, free: 15.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/0.695, allocations: 127.1 kB / 0.55 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.6951, allocations: 71.36 kB / 0.55 GB, free: 15.42 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.6953, allocations: 323.2 kB / 0.5503 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.6956, allocations: 133.9 kB / 0.5505 GB, free: 15.11 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.696, allocations: 216.7 kB / 0.5507 GB, free: 15.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007167/0.6967, allocations: 357.4 kB / 0.551 GB, free: 14.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6967, allocations: 2.156 kB / 0.551 GB, free: 14.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008789/0.6976, allocations: 408.4 kB / 0.5514 GB, free: 14.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.6976, allocations: 8.75 kB / 0.5514 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6977, allocations: 0 / 0.5514 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6977, allocations: 7.312 kB / 0.5514 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.6982, allocations: 95.78 kB / 0.5515 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.6982, allocations: 2.812 kB / 0.5515 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.6985, allocations: 32.33 kB / 0.5515 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/0.6985, allocations: 13.09 kB / 0.5516 GB, free: 14.89 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.0001541/0.6987, allocations: 144.1 kB / 0.5517 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/0.6988, allocations: 18.41 kB / 0.5517 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/0.6991, allocations: 178.7 kB / 0.5519 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6991, allocations: 3.688 kB / 0.5519 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.6992, allocations: 2.719 kB / 0.5519 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6992, allocations: 4.094 kB / 0.5519 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.7007, allocations: 0.7603 MB / 0.5526 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7007, allocations: 1.812 kB / 0.5526 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.7012, allocations: 78.81 kB / 0.5527 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.7012, allocations: 8.969 kB / 0.5527 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.7012, allocations: 11.52 kB / 0.5527 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.7012, allocations: 3.188 kB / 0.5527 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7012, allocations: 6.375 kB / 0.5527 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.7025, allocations: 0.7139 MB / 0.5534 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.7026, allocations: 125 kB / 0.5536 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.7027, allocations: 11.73 kB / 0.5536 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.703, allocations: 22.39 kB / 0.5536 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.7031, allocations: 23.66 kB / 0.5536 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.7031, allocations: 14.81 kB / 0.5536 GB, free: 13.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.072e-05/0.7032, allocations: 97.03 kB / 0.5537 GB, free: 13.92 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7032, allocations: 0 / 0.5537 GB, free: 13.92 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005917/0.7038, allocations: 140.7 kB / 0.5539 GB, free: 13.9 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.000478/0.7043, allocations: 226.8 kB / 0.5541 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008471/0.7051, allocations: 349.1 kB / 0.5544 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.7051, allocations: 0 / 0.5544 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.7055, allocations: 187.4 kB / 0.5546 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.7062, allocations: 92.17 kB / 0.5547 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.7076, allocations: 0.6343 MB / 0.5553 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.708, allocations: 0.7341 MB / 0.556 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.7082, allocations: 41.33 kB / 0.556 GB, free: 12.78 MB / 478.1 MB Notification: Performance of SimCode: time 3.6e-07/0.7082, allocations: 0 / 0.556 GB, free: 12.78 MB / 478.1 MB Notification: Performance of Templates: time 0.007001/0.7152, allocations: 4.404 MB / 0.5603 GB, free: 12.54 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches