Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002219/0.002219, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001271/0.00127, allocations: 97.64 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004166, allocations: 8 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3811, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.807/8.188, allocations: 3.642 GB / 4.009 GB, free: 88.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/8.188, allocations: 71.97 kB / 4.009 GB, free: 88.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1043/8.293, allocations: 48.79 MB / 4.057 GB, free: 39.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.655e-06/8.293, allocations: 0 / 4.057 GB, free: 39.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/8.293, allocations: 4 kB / 4.057 GB, free: 39.43 MB / 426.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.001716/8.294, allocations: 0.6392 MB / 4.058 GB, free: 38.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/8.295, allocations: 8.031 kB / 4.058 GB, free: 38.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/8.295, allocations: 19.81 kB / 4.058 GB, free: 38.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/8.295, allocations: 210.9 kB / 4.058 GB, free: 38.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/8.295, allocations: 12.33 kB / 4.058 GB, free: 38.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/8.295, allocations: 16 kB / 4.058 GB, free: 38.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/8.295, allocations: 261.4 kB / 4.058 GB, free: 38.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/8.295, allocations: 7.906 kB / 4.058 GB, free: 38.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/8.296, allocations: 8 kB / 4.058 GB, free: 38.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/8.296, allocations: 4 kB / 4.058 GB, free: 38.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/8.296, allocations: 264.6 kB / 4.058 GB, free: 37.89 MB / 426.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.001168/8.297, allocations: 0.6795 MB / 4.059 GB, free: 37.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/8.298, allocations: 225.1 kB / 4.059 GB, free: 36.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/8.298, allocations: 360.8 kB / 4.06 GB, free: 36.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/8.298, allocations: 34.56 kB / 4.06 GB, free: 36.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/8.298, allocations: 0 / 4.06 GB, free: 36.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002106/8.3, allocations: 0.6862 MB / 4.06 GB, free: 35.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/8.3, allocations: 85.23 kB / 4.06 GB, free: 35.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.845e-05/8.3, allocations: 113.2 kB / 4.061 GB, free: 35.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/8.3, allocations: 33.7 kB / 4.061 GB, free: 35.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/8.3, allocations: 104.8 kB / 4.061 GB, free: 35.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/8.3, allocations: 126.1 kB / 4.061 GB, free: 35.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/8.301, allocations: 12 kB / 4.061 GB, free: 35.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.301e-05/8.301, allocations: 326.8 kB / 4.061 GB, free: 34.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/8.301, allocations: 131.9 kB / 4.061 GB, free: 34.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/8.301, allocations: 207.8 kB / 4.061 GB, free: 34.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/8.302, allocations: 158.9 kB / 4.062 GB, free: 34.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/8.302, allocations: 0 / 4.062 GB, free: 34.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007647/8.302, allocations: 413.3 kB / 4.062 GB, free: 34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/8.302, allocations: 4 kB / 4.062 GB, free: 34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/8.302, allocations: 4.375 kB / 4.062 GB, free: 33.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/8.302, allocations: 4 kB / 4.062 GB, free: 33.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/8.303, allocations: 83.88 kB / 4.062 GB, free: 33.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/8.303, allocations: 4 kB / 4.062 GB, free: 33.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/8.303, allocations: 43.91 kB / 4.062 GB, free: 33.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/8.303, allocations: 12 kB / 4.062 GB, free: 33.85 MB / 426.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.0001472/8.303, allocations: 145.7 kB / 4.062 GB, free: 33.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/8.303, allocations: 15.86 kB / 4.062 GB, free: 33.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/8.304, allocations: 178.3 kB / 4.062 GB, free: 33.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/8.304, allocations: 4 kB / 4.062 GB, free: 33.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/8.304, allocations: 0 / 4.062 GB, free: 33.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/8.304, allocations: 7.984 kB / 4.062 GB, free: 33.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/8.305, allocations: 0.7402 MB / 4.063 GB, free: 32.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/8.305, allocations: 4 kB / 4.063 GB, free: 32.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/8.306, allocations: 79.88 kB / 4.063 GB, free: 32.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/8.306, allocations: 4 kB / 4.063 GB, free: 32.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/8.306, allocations: 16.14 kB / 4.063 GB, free: 32.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/8.306, allocations: 4 kB / 4.063 GB, free: 32.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/8.306, allocations: 7.953 kB / 4.063 GB, free: 32.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/8.307, allocations: 0.7761 MB / 4.064 GB, free: 31.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/8.307, allocations: 116.9 kB / 4.064 GB, free: 31.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/8.307, allocations: 15.94 kB / 4.064 GB, free: 31.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/8.307, allocations: 24.03 kB / 4.064 GB, free: 31.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/8.307, allocations: 27.92 kB / 4.064 GB, free: 31.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/8.307, allocations: 15.98 kB / 4.064 GB, free: 31.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.027e-05/8.307, allocations: 95.2 kB / 4.064 GB, free: 31.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/8.307, allocations: 0 / 4.064 GB, free: 31.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007217/8.308, allocations: 183.9 kB / 4.065 GB, free: 31.23 MB / 426.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.0008292/8.309, allocations: 0.6554 MB / 4.065 GB, free: 30.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00072/8.31, allocations: 332 kB / 4.065 GB, free: 30.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/8.31, allocations: 4 kB / 4.065 GB, free: 30.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003208/8.31, allocations: 177.4 kB / 4.066 GB, free: 30.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/8.311, allocations: 89.98 kB / 4.066 GB, free: 29.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/8.312, allocations: 0.741 MB / 4.066 GB, free: 29.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/8.312, allocations: 0.7452 MB / 4.067 GB, free: 28.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003757/8.312, allocations: 73.91 kB / 4.067 GB, free: 28.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/8.312, allocations: 31.42 kB / 4.067 GB, free: 28.32 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/8.312, allocations: 0 / 4.067 GB, free: 28.32 MB / 426.7 MB Notification: Performance of Templates: time 0.01478/8.327, allocations: 12.19 MB / 4.079 GB, free: 16.14 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches