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.001461/0.001461, allocations: 114.9 kB / 17.74 MB, free: 5.336 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.001457/0.001457, allocations: 188.4 kB / 18.67 MB, free: 4.41 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.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 47.94 kB / 352 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2479, 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.1563/0.4042, allocations: 151.4 MB / 0.5399 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2842/0.6885, allocations: 1.592 MB / 0.5414 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.6887, allocations: 2.406 kB / 0.5414 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.6891, allocations: 60.22 kB / 0.5415 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005141/0.6897, allocations: 155.4 kB / 0.5416 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.693, allocations: 1.022 MB / 0.5426 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006695/0.6937, allocations: 330.6 kB / 0.5429 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.173e-05/0.6938, allocations: 10.61 kB / 0.5429 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003329/0.6941, allocations: 153.2 kB / 0.5431 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.6944, allocations: 118.7 kB / 0.5432 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.6945, allocations: 12.12 kB / 0.5432 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.6976, allocations: 1.591 MB / 0.5448 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.6978, allocations: 69.81 kB / 0.5448 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.6979, allocations: 91.94 kB / 0.5449 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.6995, allocations: 0.9952 MB / 0.5459 GB, free: 1.629 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.6995, allocations: 2.5 kB / 0.5459 GB, free: 1.629 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.6995, allocations: 0.9688 kB / 0.5459 GB, free: 1.629 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.6995, allocations: 0 / 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.001901/0.7014, allocations: 0.6719 MB / 0.5466 GB, free: 17.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.7015, allocations: 10.88 kB / 0.5466 GB, free: 17.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.7017, allocations: 24.58 kB / 0.5466 GB, free: 17.15 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.7019, allocations: 206.3 kB / 0.5468 GB, free: 16.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.7019, allocations: 16.23 kB / 0.5468 GB, free: 16.95 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.702, allocations: 23.25 kB / 0.5468 GB, free: 16.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.7026, allocations: 263.3 kB / 0.5471 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.7026, allocations: 0.9062 kB / 0.5471 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.7026, allocations: 12.16 kB / 0.5471 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.7027, allocations: 5.312 kB / 0.5471 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006082/0.7033, allocations: 262.2 kB / 0.5473 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.001358/0.7046, allocations: 0.794 MB / 0.5481 GB, free: 16.39 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.7052, allocations: 221.8 kB / 0.5483 GB, free: 16.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.7055, allocations: 134.7 kB / 0.5485 GB, free: 16.33 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000337/0.7059, allocations: 358.1 kB / 0.5488 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.7059, allocations: 40.69 kB / 0.5488 GB, free: 15.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/0.706, allocations: 0 / 0.5488 GB, free: 15.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002384/0.7083, allocations: 0.6748 MB / 0.5495 GB, free: 15.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.7084, allocations: 81.02 kB / 0.5496 GB, free: 15.74 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.599e-05/0.7085, allocations: 124.3 kB / 0.5497 GB, free: 15.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.7086, allocations: 35.72 kB / 0.5497 GB, free: 15.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.7086, allocations: 107.9 kB / 0.5498 GB, free: 15.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.272e-05/0.7087, allocations: 129 kB / 0.55 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.7088, allocations: 67.52 kB / 0.55 GB, free: 15.42 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7089, allocations: 326.5 kB / 0.5503 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.7093, allocations: 133.5 kB / 0.5505 GB, free: 15.11 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.7097, allocations: 210.9 kB / 0.5507 GB, free: 15.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007404/0.7104, allocations: 364.1 kB / 0.551 GB, free: 14.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7104, allocations: 6.438 kB / 0.551 GB, free: 14.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008922/0.7113, allocations: 406.4 kB / 0.5514 GB, free: 14.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.7114, allocations: 5.969 kB / 0.5514 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.7114, allocations: 3.469 kB / 0.5514 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.7114, allocations: 2.969 kB / 0.5514 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.7119, allocations: 91.84 kB / 0.5515 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.7119, allocations: 4.062 kB / 0.5515 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.7122, allocations: 27.48 kB / 0.5515 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.7122, allocations: 16.52 kB / 0.5515 GB, free: 14.9 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.0001615/0.7124, allocations: 148.3 kB / 0.5517 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.7125, allocations: 18.97 kB / 0.5517 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.7128, allocations: 179.4 kB / 0.5519 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.7129, allocations: 4.969 kB / 0.5519 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7129, allocations: 0 / 0.5519 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.7129, allocations: 3.703 kB / 0.5519 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.7144, allocations: 0.7591 MB / 0.5526 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.7144, allocations: 2.578 kB / 0.5526 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.7149, allocations: 79.83 kB / 0.5527 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.7149, allocations: 7.344 kB / 0.5527 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.7149, allocations: 9.312 kB / 0.5527 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.7149, allocations: 11.3 kB / 0.5527 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7149, allocations: 5 kB / 0.5527 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.7162, allocations: 0.7111 MB / 0.5534 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.7163, allocations: 124.8 kB / 0.5535 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.7163, allocations: 10.44 kB / 0.5536 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.7167, allocations: 22.19 kB / 0.5536 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.7167, allocations: 23.48 kB / 0.5536 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.7168, allocations: 17.05 kB / 0.5536 GB, free: 13.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.325e-05/0.7168, allocations: 91.66 kB / 0.5537 GB, free: 13.92 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.7168, allocations: 2.438 kB / 0.5537 GB, free: 13.92 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005936/0.7174, allocations: 144.7 kB / 0.5538 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.000441/0.7179, allocations: 221.2 kB / 0.5541 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008242/0.7187, allocations: 352.6 kB / 0.5544 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7187, allocations: 4.312 kB / 0.5544 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.7191, allocations: 181.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.0006916/0.7198, allocations: 103.9 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.001361/0.7212, allocations: 0.6258 MB / 0.5553 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.7215, allocations: 0.7376 MB / 0.556 GB, free: 12.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.7217, allocations: 37.2 kB / 0.556 GB, free: 12.77 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.7217, allocations: 0 / 0.556 GB, free: 12.77 MB / 478.1 MB Notification: Performance of Templates: time 0.006295/0.728, allocations: 4.399 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