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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 175.5 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 223.3 MB / 241.4 MB, free: 11.6 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007704/0.0007706, allocations: 98.61 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003022, allocations: 15.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2062, allocations: 50.39 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.655/5.861, allocations: 3.337 GB / 3.73 GB, free: 75.92 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/5.862, allocations: 72.98 kB / 3.73 GB, free: 75.85 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1/5.962, allocations: 49.16 MB / 3.778 GB, free: 26.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.625e-06/5.962, allocations: 4 kB / 3.778 GB, free: 26.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/5.962, allocations: 4 kB / 3.778 GB, free: 26.17 MB / 442.7 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.001549/5.963, allocations: 0.6317 MB / 3.779 GB, free: 25.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/5.963, allocations: 8.031 kB / 3.779 GB, free: 25.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/5.963, allocations: 20.75 kB / 3.779 GB, free: 25.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/5.964, allocations: 212.2 kB / 3.779 GB, free: 25.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/5.964, allocations: 12.7 kB / 3.779 GB, free: 25.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/5.964, allocations: 28.22 kB / 3.779 GB, free: 25.17 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/5.964, allocations: 262 kB / 3.779 GB, free: 24.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/5.964, allocations: 192 / 3.779 GB, free: 24.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/5.964, allocations: 11.94 kB / 3.779 GB, free: 24.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/5.964, allocations: 7.938 kB / 3.779 GB, free: 24.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/5.965, allocations: 263.7 kB / 3.78 GB, free: 24.63 MB / 442.7 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.00117/5.966, allocations: 0.6831 MB / 3.78 GB, free: 23.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/5.967, allocations: 233 kB / 3.781 GB, free: 23.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/5.967, allocations: 129.6 kB / 3.781 GB, free: 23.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/5.967, allocations: 352.4 kB / 3.781 GB, free: 23.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/5.967, allocations: 42.56 kB / 3.781 GB, free: 23.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/5.967, allocations: 3.938 kB / 3.781 GB, free: 23.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.002041/5.969, allocations: 0.677 MB / 3.782 GB, free: 22.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/5.969, allocations: 85.11 kB / 3.782 GB, free: 22.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/5.969, allocations: 129.8 kB / 3.782 GB, free: 22.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/5.969, allocations: 33.7 kB / 3.782 GB, free: 22.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/5.969, allocations: 108.8 kB / 3.782 GB, free: 21.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/5.969, allocations: 122.1 kB / 3.782 GB, free: 21.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/5.969, allocations: 8 kB / 3.782 GB, free: 21.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.785e-05/5.969, allocations: 334.8 kB / 3.783 GB, free: 21.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/5.97, allocations: 135.9 kB / 3.783 GB, free: 21.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/5.97, allocations: 203.6 kB / 3.783 GB, free: 21.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/5.971, allocations: 357.5 kB / 3.783 GB, free: 20.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/5.971, allocations: 0 / 3.783 GB, free: 20.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008233/5.972, allocations: 405.1 kB / 3.784 GB, free: 20.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/5.972, allocations: 11.94 kB / 3.784 GB, free: 20.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/5.972, allocations: 0 / 3.784 GB, free: 20.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/5.972, allocations: 4 kB / 3.784 GB, free: 20.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/5.972, allocations: 92.09 kB / 3.784 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/5.972, allocations: 7.938 kB / 3.784 GB, free: 20.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/5.972, allocations: 27.89 kB / 3.784 GB, free: 20.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/5.972, allocations: 15.98 kB / 3.784 GB, free: 20.2 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/5.973, allocations: 145.7 kB / 3.784 GB, free: 20.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/5.973, allocations: 19.75 kB / 3.784 GB, free: 20.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/5.973, allocations: 179.3 kB / 3.784 GB, free: 19.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/5.973, allocations: 4 kB / 3.784 GB, free: 19.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/5.973, allocations: 0 / 3.784 GB, free: 19.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/5.973, allocations: 7.938 kB / 3.784 GB, free: 19.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/5.974, allocations: 0.7533 MB / 3.785 GB, free: 19.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/5.974, allocations: 0 / 3.785 GB, free: 19.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/5.975, allocations: 84.03 kB / 3.785 GB, free: 18.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/5.975, allocations: 0 / 3.785 GB, free: 18.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/5.975, allocations: 16.38 kB / 3.785 GB, free: 18.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/5.975, allocations: 0 / 3.785 GB, free: 18.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/5.975, allocations: 4 kB / 3.785 GB, free: 18.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/5.976, allocations: 0.7147 MB / 3.786 GB, free: 18.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.948e-05/5.976, allocations: 120.9 kB / 3.786 GB, free: 18.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/5.976, allocations: 12 kB / 3.786 GB, free: 18.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/5.976, allocations: 19.89 kB / 3.786 GB, free: 18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/5.976, allocations: 31.91 kB / 3.786 GB, free: 17.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/5.977, allocations: 19.98 kB / 3.786 GB, free: 17.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.112e-05/5.977, allocations: 95.27 kB / 3.786 GB, free: 17.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/5.977, allocations: 4 kB / 3.786 GB, free: 17.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000708/5.977, allocations: 179.8 kB / 3.786 GB, free: 17.67 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008611/5.978, allocations: 0.6438 MB / 3.787 GB, free: 17.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007317/5.979, allocations: 336.2 kB / 3.787 GB, free: 16.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/5.979, allocations: 4.125 kB / 3.787 GB, free: 16.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/5.979, allocations: 175.1 kB / 3.787 GB, free: 16.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006629/5.98, allocations: 100.4 kB / 3.787 GB, free: 16.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/5.981, allocations: 0.7409 MB / 3.788 GB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/5.981, allocations: 0.7374 MB / 3.789 GB, free: 14.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004193/5.982, allocations: 77.89 kB / 3.789 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/5.982, allocations: 31.41 kB / 3.789 GB, free: 14.77 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/5.982, allocations: 4 kB / 3.789 GB, free: 14.77 MB / 442.7 MB Notification: Performance of Templates: time 0.01488/5.997, allocations: 12.32 MB / 3.801 GB, free: 2.496 MB / 442.7 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","../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches