Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 227.2 MB / 245 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008459/0.0008459, allocations: 111.9 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002218/0.0002218, allocations: 8 kB / 357.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1847, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11/11.19, allocations: 6.206 GB / 6.606 GB, free: 78.55 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/11.19, allocations: 80.67 kB / 6.606 GB, free: 78.47 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7028/11.89, allocations: 202 MB / 6.803 GB, free: 57.62 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.275e-06/11.89, allocations: 0 / 6.803 GB, free: 57.62 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/11.89, allocations: 4 kB / 6.803 GB, free: 57.62 MB / 458.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.008062/11.9, allocations: 1.461 MB / 6.804 GB, free: 56.11 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/11.9, allocations: 8.031 kB / 6.804 GB, free: 56.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/11.9, allocations: 23.77 kB / 6.804 GB, free: 56.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/11.9, allocations: 214.9 kB / 6.805 GB, free: 55.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/11.9, allocations: 20.27 kB / 6.805 GB, free: 55.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/11.9, allocations: 12 kB / 6.805 GB, free: 55.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007466/11.9, allocations: 285.4 kB / 6.805 GB, free: 55.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/11.9, allocations: 0 / 6.805 GB, free: 55.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/11.9, allocations: 8 kB / 6.805 GB, free: 55.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/11.9, allocations: 7.953 kB / 6.805 GB, free: 55.49 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007131/11.9, allocations: 315.6 kB / 6.805 GB, free: 55.18 MB / 458.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.001279/11.9, allocations: 0.7106 MB / 6.806 GB, free: 54.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/11.9, allocations: 249.3 kB / 6.806 GB, free: 54.13 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/11.92, allocations: 12.44 MB / 6.818 GB, free: 39.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/11.92, allocations: 38.56 kB / 6.818 GB, free: 39.13 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 3.506e-06/11.92, allocations: 0 / 6.818 GB, free: 39.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.002714/11.92, allocations: 0.6936 MB / 6.819 GB, free: 38.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/11.92, allocations: 85.3 kB / 6.819 GB, free: 38.33 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.585e-05/11.92, allocations: 113 kB / 6.819 GB, free: 38.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/11.92, allocations: 33.7 kB / 6.819 GB, free: 38.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/11.92, allocations: 112.8 kB / 6.819 GB, free: 38.06 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/11.92, allocations: 126.1 kB / 6.82 GB, free: 37.94 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/11.92, allocations: 8 kB / 6.82 GB, free: 37.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.743e-05/11.92, allocations: 330.8 kB / 6.82 GB, free: 37.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/11.92, allocations: 139.9 kB / 6.82 GB, free: 37.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/11.92, allocations: 203.7 kB / 6.82 GB, free: 37.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/11.92, allocations: 160.8 kB / 6.82 GB, free: 37.08 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/11.92, allocations: 0 / 6.82 GB, free: 37.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009933/11.92, allocations: 420.2 kB / 6.821 GB, free: 36.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/11.92, allocations: 10.34 kB / 6.821 GB, free: 36.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/11.92, allocations: 0 / 6.821 GB, free: 36.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/11.92, allocations: 4 kB / 6.821 GB, free: 36.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/11.92, allocations: 99.77 kB / 6.821 GB, free: 36.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/11.92, allocations: 4 kB / 6.821 GB, free: 36.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/11.92, allocations: 32.03 kB / 6.821 GB, free: 36.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/11.92, allocations: 16 kB / 6.821 GB, free: 36.51 MB / 458.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.0001293/11.92, allocations: 141.8 kB / 6.821 GB, free: 36.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/11.92, allocations: 27.73 kB / 6.821 GB, free: 36.33 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004875/11.92, allocations: 199.8 kB / 6.821 GB, free: 36.13 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/11.92, allocations: 4 kB / 6.821 GB, free: 36.13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/11.92, allocations: 3.953 kB / 6.821 GB, free: 36.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/11.92, allocations: 3.984 kB / 6.821 GB, free: 36.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/11.92, allocations: 0.76 MB / 6.822 GB, free: 35.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/11.92, allocations: 4 kB / 6.822 GB, free: 35.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/11.92, allocations: 75.88 kB / 6.822 GB, free: 35.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/11.92, allocations: 4 kB / 6.822 GB, free: 35.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/11.92, allocations: 8 kB / 6.822 GB, free: 35.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/11.92, allocations: 8.094 kB / 6.822 GB, free: 35.19 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/11.92, allocations: 12 kB / 6.822 GB, free: 35.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/11.93, allocations: 0.787 MB / 6.823 GB, free: 34.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/11.93, allocations: 128.8 kB / 6.823 GB, free: 34.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/11.93, allocations: 11.98 kB / 6.823 GB, free: 34.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/11.93, allocations: 27.89 kB / 6.823 GB, free: 34.14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/11.93, allocations: 24.03 kB / 6.823 GB, free: 34.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/11.93, allocations: 23.94 kB / 6.823 GB, free: 34.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.478e-05/11.93, allocations: 99.14 kB / 6.823 GB, free: 34 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/11.93, allocations: 4 kB / 6.823 GB, free: 33.99 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004773/11.93, allocations: 1.132 MB / 6.824 GB, free: 32.86 MB / 458.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.008518/11.94, allocations: 1.619 MB / 6.826 GB, free: 31.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009745/11.94, allocations: 351.1 kB / 6.826 GB, free: 30.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/11.94, allocations: 0 / 6.826 GB, free: 30.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004616/11.94, allocations: 186.9 kB / 6.826 GB, free: 30.72 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005994/11.94, allocations: 88.34 kB / 6.826 GB, free: 30.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02325/11.97, allocations: 12.74 MB / 6.839 GB, free: 17.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/11.97, allocations: 0.734 MB / 6.84 GB, free: 16.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005007/11.97, allocations: 93.81 kB / 6.84 GB, free: 16.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/11.97, allocations: 39.42 kB / 6.84 GB, free: 16.68 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/11.97, allocations: 0 / 6.84 GB, free: 16.68 MB / 458.7 MB Notification: Performance of Templates: time 0.2622/12.23, allocations: 31.51 MB / 6.871 GB, free: 72.7 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches