Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002403/0.002403, allocations: 195.3 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.721/2.721, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 97.16 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004948, allocations: 4 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5268/0.5274, allocations: 51.3 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 27.74/28.27, allocations: 6.206 GB / 6.605 GB, free: 116.8 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005234/28.27, allocations: 80.52 kB / 6.605 GB, free: 116.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.689/29.96, allocations: 201.9 MB / 6.803 GB, free: 80.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.346e-06/29.96, allocations: 0 / 6.803 GB, free: 80.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.371e-05/29.96, allocations: 3.656 kB / 6.803 GB, free: 80.59 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.01002/29.97, allocations: 1.458 MB / 6.804 GB, free: 79.63 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/29.97, allocations: 10.88 kB / 6.804 GB, free: 79.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003172/29.97, allocations: 19.38 kB / 6.804 GB, free: 79.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/29.97, allocations: 221.6 kB / 6.804 GB, free: 79.42 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/29.97, allocations: 16.48 kB / 6.804 GB, free: 79.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-05/29.97, allocations: 20.09 kB / 6.804 GB, free: 79.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/29.97, allocations: 277.8 kB / 6.805 GB, free: 79.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/29.97, allocations: 192 / 6.805 GB, free: 79.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/29.97, allocations: 9.312 kB / 6.805 GB, free: 79.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.574e-05/29.97, allocations: 7.5 kB / 6.805 GB, free: 79.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/29.97, allocations: 307.2 kB / 6.805 GB, free: 79.35 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.002227/29.97, allocations: 0.7112 MB / 6.806 GB, free: 78.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/29.98, allocations: 252.9 kB / 6.806 GB, free: 78.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/29.98, allocations: 135.6 kB / 6.806 GB, free: 78.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01834/29.99, allocations: 12.44 MB / 6.818 GB, free: 65.55 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.849e-05/29.99, allocations: 38.38 kB / 6.818 GB, free: 65.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 7.664e-06/29.99, allocations: 4 kB / 6.818 GB, free: 65.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.004253/30, allocations: 0.683 MB / 6.819 GB, free: 65.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/30, allocations: 81.11 kB / 6.819 GB, free: 64.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/30, allocations: 138.9 kB / 6.819 GB, free: 64.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.618e-05/30, allocations: 37.58 kB / 6.819 GB, free: 64.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/30, allocations: 112.5 kB / 6.819 GB, free: 64.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/30, allocations: 124.3 kB / 6.819 GB, free: 64.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/30, allocations: 3.188 kB / 6.819 GB, free: 64.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/30, allocations: 327.3 kB / 6.82 GB, free: 64.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/30, allocations: 141.4 kB / 6.82 GB, free: 64.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/30, allocations: 204.5 kB / 6.82 GB, free: 64.08 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/30, allocations: 365.2 kB / 6.82 GB, free: 63.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/30, allocations: 0 / 6.82 GB, free: 63.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001741/30, allocations: 415.3 kB / 6.821 GB, free: 63.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/30, allocations: 11.94 kB / 6.821 GB, free: 63.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/30, allocations: 0 / 6.821 GB, free: 63.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/30, allocations: 7.938 kB / 6.821 GB, free: 63.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/30, allocations: 98.11 kB / 6.821 GB, free: 63.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/30, allocations: 4 kB / 6.821 GB, free: 63.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/30.01, allocations: 30.62 kB / 6.821 GB, free: 63.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.141e-05/30.01, allocations: 19.59 kB / 6.821 GB, free: 63.45 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.0002756/30.01, allocations: 147.6 kB / 6.821 GB, free: 63.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/30.01, allocations: 23.75 kB / 6.821 GB, free: 63.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009023/30.01, allocations: 195 kB / 6.821 GB, free: 63.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/30.01, allocations: 4 kB / 6.821 GB, free: 63.17 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/30.01, allocations: 8 kB / 6.821 GB, free: 63.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/30.01, allocations: 3.984 kB / 6.821 GB, free: 63.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/30.01, allocations: 0.7644 MB / 6.822 GB, free: 62.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/30.01, allocations: 3.609 kB / 6.822 GB, free: 62.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/30.01, allocations: 82.77 kB / 6.822 GB, free: 62.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/30.01, allocations: 4.156 kB / 6.822 GB, free: 62.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-05/30.01, allocations: 15.44 kB / 6.822 GB, free: 62.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.218e-06/30.01, allocations: 4 kB / 6.822 GB, free: 62.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/30.01, allocations: 3.891 kB / 6.822 GB, free: 62.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/30.01, allocations: 0.7171 MB / 6.823 GB, free: 61.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/30.01, allocations: 122.9 kB / 6.823 GB, free: 61.85 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/30.01, allocations: 10.36 kB / 6.823 GB, free: 61.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/30.01, allocations: 22.48 kB / 6.823 GB, free: 61.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/30.01, allocations: 30.33 kB / 6.823 GB, free: 61.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.728e-05/30.01, allocations: 19.09 kB / 6.823 GB, free: 61.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001081/30.01, allocations: 98.34 kB / 6.823 GB, free: 61.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/30.01, allocations: 0 / 6.823 GB, free: 61.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008055/30.02, allocations: 1.134 MB / 6.824 GB, free: 60.7 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.01354/30.04, allocations: 1.619 MB / 6.826 GB, free: 59.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001789/30.04, allocations: 360.4 kB / 6.826 GB, free: 59.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/30.04, allocations: 0 / 6.826 GB, free: 59.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007204/30.04, allocations: 189.4 kB / 6.826 GB, free: 59.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/30.04, allocations: 90.2 kB / 6.826 GB, free: 58.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03369/30.07, allocations: 12.27 MB / 6.838 GB, free: 49.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/30.07, allocations: 0.7389 MB / 6.839 GB, free: 48.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/30.07, allocations: 38.28 kB / 6.839 GB, free: 48.81 MB / 458.7 MB Notification: Performance of SimCode: time 3.066e-06/30.07, allocations: 0 / 6.839 GB, free: 48.81 MB / 458.7 MB Notification: Performance of Templates: time 0.05591/30.13, allocations: 22.71 MB / 6.861 GB, free: 28.36 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches