Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001527/0.001528, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001106/0.001106, allocations: 97 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3219, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.6/10.92, allocations: 3.642 GB / 4.008 GB, free: 112.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/10.92, allocations: 70.91 kB / 4.008 GB, free: 112.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1743/11.1, allocations: 48.78 MB / 4.056 GB, free: 97.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/11.1, allocations: 0 / 4.056 GB, free: 97.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/11.1, allocations: 4 kB / 4.056 GB, free: 97.78 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.002494/11.1, allocations: 0.6374 MB / 4.056 GB, free: 97.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/11.1, allocations: 12.03 kB / 4.056 GB, free: 97.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/11.1, allocations: 15.81 kB / 4.056 GB, free: 97.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/11.1, allocations: 210.1 kB / 4.057 GB, free: 96.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/11.1, allocations: 11.58 kB / 4.057 GB, free: 96.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/11.1, allocations: 15.62 kB / 4.057 GB, free: 96.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000838/11.1, allocations: 269.6 kB / 4.057 GB, free: 96.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/11.1, allocations: 3.906 kB / 4.057 GB, free: 96.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/11.1, allocations: 5.938 kB / 4.057 GB, free: 96.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/11.1, allocations: 8 kB / 4.057 GB, free: 96.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/11.1, allocations: 264 kB / 4.057 GB, free: 96.41 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.001903/11.11, allocations: 0.6773 MB / 4.058 GB, free: 95.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009806/11.11, allocations: 229.4 kB / 4.058 GB, free: 95.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/11.11, allocations: 359.2 kB / 4.058 GB, free: 95.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/11.11, allocations: 38 kB / 4.058 GB, free: 95.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.206e-06/11.11, allocations: 4 kB / 4.058 GB, free: 95.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.004247/11.11, allocations: 0.6774 MB / 4.059 GB, free: 94.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/11.11, allocations: 81.3 kB / 4.059 GB, free: 94.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/11.11, allocations: 116.8 kB / 4.059 GB, free: 94.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/11.11, allocations: 29.52 kB / 4.059 GB, free: 94.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/11.11, allocations: 178.5 kB / 4.059 GB, free: 94.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/11.11, allocations: 128.4 kB / 4.06 GB, free: 94.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/11.11, allocations: 7.562 kB / 4.06 GB, free: 94.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.992e-05/11.11, allocations: 325.8 kB / 4.06 GB, free: 93.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006325/11.11, allocations: 135.4 kB / 4.06 GB, free: 93.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/11.11, allocations: 206.5 kB / 4.06 GB, free: 93.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006825/11.11, allocations: 150.6 kB / 4.06 GB, free: 93.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/11.11, allocations: 0 / 4.06 GB, free: 93.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001601/11.12, allocations: 414.6 kB / 4.061 GB, free: 93.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/11.12, allocations: 4 kB / 4.061 GB, free: 93.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/11.12, allocations: 4 kB / 4.061 GB, free: 93.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/11.12, allocations: 4 kB / 4.061 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000878/11.12, allocations: 91.84 kB / 4.061 GB, free: 92.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/11.12, allocations: 7.938 kB / 4.061 GB, free: 92.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/11.12, allocations: 27.66 kB / 4.061 GB, free: 92.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/11.12, allocations: 15.44 kB / 4.061 GB, free: 92.93 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.0001916/11.12, allocations: 140.6 kB / 4.061 GB, free: 92.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.134e-05/11.12, allocations: 23.77 kB / 4.061 GB, free: 92.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005704/11.12, allocations: 185.4 kB / 4.061 GB, free: 92.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/11.12, allocations: 4 kB / 4.061 GB, free: 92.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/11.12, allocations: 0 / 4.061 GB, free: 92.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/11.12, allocations: 0 / 4.061 GB, free: 92.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/11.12, allocations: 0.7523 MB / 4.062 GB, free: 91.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/11.12, allocations: 384 / 4.062 GB, free: 91.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008109/11.12, allocations: 80.03 kB / 4.062 GB, free: 91.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/11.12, allocations: 4 kB / 4.062 GB, free: 91.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/11.12, allocations: 11.31 kB / 4.062 GB, free: 91.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/11.12, allocations: 11.92 kB / 4.062 GB, free: 91.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/11.12, allocations: 11.89 kB / 4.062 GB, free: 91.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/11.12, allocations: 0.7629 MB / 4.063 GB, free: 91.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/11.12, allocations: 122.8 kB / 4.063 GB, free: 91.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/11.12, allocations: 10.62 kB / 4.063 GB, free: 91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/11.13, allocations: 28.69 kB / 4.063 GB, free: 90.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/11.13, allocations: 32.61 kB / 4.063 GB, free: 90.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/11.13, allocations: 14.62 kB / 4.063 GB, free: 90.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.372e-05/11.13, allocations: 92.33 kB / 4.063 GB, free: 90.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-07/11.13, allocations: 0 / 4.063 GB, free: 90.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009976/11.13, allocations: 189.5 kB / 4.063 GB, free: 90.7 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.001257/11.13, allocations: 0.637 MB / 4.064 GB, free: 90.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001546/11.13, allocations: 342.3 kB / 4.064 GB, free: 89.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/11.13, allocations: 4 kB / 4.064 GB, free: 89.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006904/11.13, allocations: 176.9 kB / 4.064 GB, free: 89.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009765/11.13, allocations: 96.48 kB / 4.065 GB, free: 89.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/11.13, allocations: 0.7722 MB / 4.065 GB, free: 88.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/11.13, allocations: 0.7395 MB / 4.066 GB, free: 88.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/11.13, allocations: 33.48 kB / 4.066 GB, free: 88.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/11.13, allocations: 0 / 4.066 GB, free: 88.05 MB / 426.7 MB Notification: Performance of Templates: time 0.01393/11.15, allocations: 7.147 MB / 4.073 GB, free: 80.91 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches