Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002164/0.002164, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.379/1.379, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009153/0.0009153, allocations: 98.53 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002401/0.0002401, allocations: 11.94 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2148, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.48/11.69, allocations: 6.205 GB / 6.597 GB, free: 67.71 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/11.69, allocations: 79.95 kB / 6.597 GB, free: 67.64 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.773/12.47, allocations: 202.3 MB / 6.795 GB, free: 51.83 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.505e-06/12.47, allocations: 0 / 6.795 GB, free: 51.83 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/12.47, allocations: 4 kB / 6.795 GB, free: 51.82 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.007222/12.47, allocations: 1.457 MB / 6.796 GB, free: 50.31 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/12.47, allocations: 8.031 kB / 6.796 GB, free: 50.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/12.47, allocations: 19.81 kB / 6.796 GB, free: 50.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/12.47, allocations: 222.8 kB / 6.796 GB, free: 50.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/12.47, allocations: 12.33 kB / 6.796 GB, free: 50.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/12.47, allocations: 16 kB / 6.796 GB, free: 50 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007307/12.47, allocations: 281.4 kB / 6.797 GB, free: 49.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/12.47, allocations: 0 / 6.797 GB, free: 49.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/12.47, allocations: 15.94 kB / 6.797 GB, free: 49.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/12.47, allocations: 4 kB / 6.797 GB, free: 49.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006923/12.47, allocations: 299.8 kB / 6.797 GB, free: 49.4 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.001327/12.48, allocations: 0.7265 MB / 6.798 GB, free: 48.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006353/12.48, allocations: 261 kB / 6.798 GB, free: 48.33 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/12.49, allocations: 12.44 MB / 6.81 GB, free: 33.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/12.49, allocations: 42.55 kB / 6.81 GB, free: 33.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 2.745e-06/12.49, allocations: 0 / 6.81 GB, free: 33.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.002817/12.49, allocations: 0.6896 MB / 6.811 GB, free: 32.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/12.49, allocations: 81.3 kB / 6.811 GB, free: 32.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/12.49, allocations: 113 kB / 6.811 GB, free: 32.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/12.49, allocations: 33.7 kB / 6.811 GB, free: 32.39 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/12.49, allocations: 108.8 kB / 6.811 GB, free: 32.28 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.809e-05/12.49, allocations: 122.2 kB / 6.811 GB, free: 32.16 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/12.49, allocations: 12 kB / 6.811 GB, free: 32.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.794e-05/12.49, allocations: 326.8 kB / 6.812 GB, free: 31.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/12.49, allocations: 139.9 kB / 6.812 GB, free: 31.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/12.49, allocations: 203.8 kB / 6.812 GB, free: 31.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/12.49, allocations: 164.8 kB / 6.812 GB, free: 31.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/12.49, allocations: 0 / 6.812 GB, free: 31.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001019/12.49, allocations: 415.3 kB / 6.812 GB, free: 30.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/12.49, allocations: 8 kB / 6.812 GB, free: 30.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/12.49, allocations: 0 / 6.812 GB, free: 30.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/12.49, allocations: 7.984 kB / 6.812 GB, free: 30.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/12.5, allocations: 95.81 kB / 6.813 GB, free: 30.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/12.5, allocations: 4 kB / 6.813 GB, free: 30.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/12.5, allocations: 31.98 kB / 6.813 GB, free: 30.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/12.5, allocations: 19.98 kB / 6.813 GB, free: 30.72 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.0001289/12.5, allocations: 149.7 kB / 6.813 GB, free: 30.56 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/12.5, allocations: 19.81 kB / 6.813 GB, free: 30.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004912/12.5, allocations: 198.2 kB / 6.813 GB, free: 30.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/12.5, allocations: 4 kB / 6.813 GB, free: 30.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/12.5, allocations: 4 kB / 6.813 GB, free: 30.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/12.5, allocations: 3.984 kB / 6.813 GB, free: 30.33 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/12.5, allocations: 0.7704 MB / 6.814 GB, free: 29.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/12.5, allocations: 4 kB / 6.814 GB, free: 29.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/12.5, allocations: 79.84 kB / 6.814 GB, free: 29.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/12.5, allocations: 4 kB / 6.814 GB, free: 29.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/12.5, allocations: 15.92 kB / 6.814 GB, free: 29.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/12.5, allocations: 4 kB / 6.814 GB, free: 29.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/12.5, allocations: 4 kB / 6.814 GB, free: 29.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/12.5, allocations: 0.7835 MB / 6.815 GB, free: 28.53 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/12.5, allocations: 128.9 kB / 6.815 GB, free: 28.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/12.5, allocations: 8 kB / 6.815 GB, free: 28.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/12.5, allocations: 27.91 kB / 6.815 GB, free: 28.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/12.5, allocations: 31.94 kB / 6.815 GB, free: 28.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/12.5, allocations: 23.92 kB / 6.815 GB, free: 28.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.766e-05/12.5, allocations: 91.7 kB / 6.815 GB, free: 28.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/12.5, allocations: 4 kB / 6.815 GB, free: 28.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005213/12.51, allocations: 1.112 MB / 6.816 GB, free: 27.09 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.009724/12.52, allocations: 1.61 MB / 6.818 GB, free: 25.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/12.52, allocations: 335 kB / 6.818 GB, free: 25.15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/12.52, allocations: 448 / 6.818 GB, free: 25.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004731/12.52, allocations: 186 kB / 6.818 GB, free: 24.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006438/12.52, allocations: 103.1 kB / 6.818 GB, free: 24.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/12.54, allocations: 12.68 MB / 6.831 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/12.54, allocations: 0.7374 MB / 6.831 GB, free: 11.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004996/12.54, allocations: 81.83 kB / 6.831 GB, free: 11.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/12.54, allocations: 43.42 kB / 6.831 GB, free: 10.99 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/12.54, allocations: 0 / 6.831 GB, free: 10.99 MB / 458.7 MB Notification: Performance of Templates: time 0.2915/12.83, allocations: 31.35 MB / 6.862 GB, free: 76.11 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches