Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002719/0.002719, allocations: 196.2 kB / 18.06 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.906/2.906, allocations: 226.5 MB / 245.3 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 94.38 kB / 297.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003981, allocations: 4 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5635/0.564, allocations: 51.31 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 27.14/27.71, allocations: 6.124 GB / 6.523 GB, free: 11.86 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005721/27.71, allocations: 80.48 kB / 6.523 GB, free: 11.79 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.619/34.33, allocations: 0.7971 GB / 7.321 GB, free: 28.44 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.198e-06/34.33, allocations: 0 / 7.321 GB, free: 28.44 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.605e-05/34.33, allocations: 14.53 kB / 7.321 GB, free: 28.43 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.02852/34.36, allocations: 2.765 MB / 7.323 GB, free: 26.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.043e-05/34.36, allocations: 10.72 kB / 7.323 GB, free: 26.84 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007423/34.36, allocations: 62.91 kB / 7.323 GB, free: 26.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009468/34.36, allocations: 368.1 kB / 7.324 GB, free: 26.58 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/34.36, allocations: 30.28 kB / 7.324 GB, free: 26.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/34.36, allocations: 50.69 kB / 7.324 GB, free: 26.58 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/34.36, allocations: 0.5738 MB / 7.324 GB, free: 26.53 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/34.36, allocations: 0 / 7.324 GB, free: 26.53 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-05/34.36, allocations: 18.19 kB / 7.324 GB, free: 26.53 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/34.36, allocations: 13.12 kB / 7.324 GB, free: 26.53 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/34.36, allocations: 0.7143 MB / 7.325 GB, free: 26.52 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02772/34.39, allocations: 11.63 MB / 7.336 GB, free: 15.83 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/34.39, allocations: 0.5222 MB / 7.337 GB, free: 15.79 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007237/34.39, allocations: 248.8 kB / 7.337 GB, free: 15.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04785/34.44, allocations: 20.92 MB / 7.358 GB, free: 26.51 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.168e-05/34.44, allocations: 46.69 kB / 7.358 GB, free: 26.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 9.989e-06/34.44, allocations: 4 kB / 7.358 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.01211/34.45, allocations: 2.168 MB / 7.36 GB, free: 25.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/34.45, allocations: 59.72 kB / 7.36 GB, free: 25.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007576/34.45, allocations: 326.9 kB / 7.36 GB, free: 25.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/34.46, allocations: 39.98 kB / 7.36 GB, free: 25.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/34.46, allocations: 192.9 kB / 7.36 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/34.46, allocations: 191.1 kB / 7.361 GB, free: 25.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/34.46, allocations: 13.62 kB / 7.361 GB, free: 25.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002564/34.46, allocations: 345.5 kB / 7.361 GB, free: 25.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007159/34.46, allocations: 234.5 kB / 7.361 GB, free: 25.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/34.46, allocations: 335.9 kB / 7.361 GB, free: 24.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/34.46, allocations: 0.5789 MB / 7.362 GB, free: 24.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/34.46, allocations: 0 / 7.362 GB, free: 24.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00356/34.46, allocations: 0.7427 MB / 7.363 GB, free: 24.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/34.46, allocations: 4.75 kB / 7.363 GB, free: 24.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/34.46, allocations: 6.734 kB / 7.363 GB, free: 24.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/34.46, allocations: 108.3 kB / 7.363 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000887/34.47, allocations: 122.5 kB / 7.363 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008672/34.47, allocations: 3.277 MB / 7.366 GB, free: 21.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/34.48, allocations: 39.36 kB / 7.366 GB, free: 21.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/34.48, allocations: 36.86 kB / 7.366 GB, free: 21.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007287/34.48, allocations: 192.9 kB / 7.366 GB, free: 21.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007599/34.48, allocations: 44.53 kB / 7.366 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/34.48, allocations: 0.8325 MB / 7.367 GB, free: 21.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/34.48, allocations: 6.156 kB / 7.367 GB, free: 21.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/34.48, allocations: 0 / 7.367 GB, free: 21.31 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006813/34.49, allocations: 0.7737 MB / 7.368 GB, free: 20.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/34.49, allocations: 1.329 MB / 7.369 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/34.49, allocations: 7.547 kB / 7.369 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009139/34.49, allocations: 107.1 kB / 7.369 GB, free: 20.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/34.49, allocations: 151.6 kB / 7.37 GB, free: 20.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.109e-05/34.5, allocations: 15.44 kB / 7.37 GB, free: 20.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000709/34.5, allocations: 0.6465 MB / 7.37 GB, free: 19.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/34.5, allocations: 0 / 7.37 GB, free: 19.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/34.5, allocations: 0.9305 MB / 7.371 GB, free: 19.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/34.5, allocations: 130.1 kB / 7.371 GB, free: 19.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/34.5, allocations: 14.25 kB / 7.371 GB, free: 19.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009601/34.5, allocations: 32.97 kB / 7.371 GB, free: 19.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/34.5, allocations: 36.84 kB / 7.371 GB, free: 19.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/34.5, allocations: 34.77 kB / 7.371 GB, free: 19.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000611/34.5, allocations: 253 kB / 7.372 GB, free: 19.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.3e-07/34.5, allocations: 0 / 7.372 GB, free: 19.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01891/34.52, allocations: 1.968 MB / 7.374 GB, free: 19.19 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02391/34.54, allocations: 2.948 MB / 7.376 GB, free: 18.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003727/34.55, allocations: 0.8038 MB / 7.377 GB, free: 18.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/34.55, allocations: 4.188 kB / 7.377 GB, free: 18.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/34.55, allocations: 303 kB / 7.377 GB, free: 18.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/34.55, allocations: 270.2 kB / 7.378 GB, free: 18.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/34.56, allocations: 1.355 MB / 7.379 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00496/34.56, allocations: 0.8408 MB / 7.38 GB, free: 16.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/34.56, allocations: 66.16 kB / 7.38 GB, free: 16.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.312e-06/34.56, allocations: 0 / 7.38 GB, free: 16.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.1389/34.7, allocations: 46.48 MB / 7.425 GB, free: 1.668 MB / 0.4948 GB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches