Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 194.8 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 226.5 MB / 244.1 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000849/0.0008492, allocations: 96.38 kB / 296.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3936/0.3936, allocations: 44.82 MB / 392.9 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002787, allocations: 12 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4555, allocations: 62.94 MB / 0.5165 GB, free: 37.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.234/1.689, allocations: 0.5228 GB / 1.039 GB, free: 83.03 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/1.69, allocations: 99.88 kB / 1.039 GB, free: 82.93 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8398/2.53, allocations: 206.3 MB / 1.241 GB, free: 100.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.404e-06/2.53, allocations: 0 / 1.241 GB, free: 100.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.69e-05/2.53, allocations: 16.22 kB / 1.241 GB, free: 100.3 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.004304/2.534, allocations: 1.104 MB / 1.242 GB, free: 99.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/2.534, allocations: 16.02 kB / 1.242 GB, free: 99.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/2.535, allocations: 139.9 kB / 1.242 GB, free: 98.96 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/2.537, allocations: 0.5608 MB / 1.243 GB, free: 98.36 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/2.537, allocations: 101.7 kB / 1.243 GB, free: 98.25 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/2.538, allocations: 55.83 kB / 1.243 GB, free: 98.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/2.539, allocations: 0.8306 MB / 1.244 GB, free: 97.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/2.539, allocations: 0 / 1.244 GB, free: 97.28 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/2.539, allocations: 20 kB / 1.244 GB, free: 97.26 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.807e-05/2.539, allocations: 40.98 kB / 1.244 GB, free: 97.22 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/2.54, allocations: 0.6243 MB / 1.244 GB, free: 96.6 MB / 0.5417 GB 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.00409/2.544, allocations: 3.965 MB / 1.248 GB, free: 92.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/2.545, allocations: 332.4 kB / 1.248 GB, free: 92.04 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/2.545, allocations: 169.3 kB / 1.249 GB, free: 91.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/2.545, allocations: 93.38 kB / 1.249 GB, free: 91.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/2.545, allocations: 42.84 kB / 1.249 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.355e-06/2.545, allocations: 0 / 1.249 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.005221/2.551, allocations: 1.658 MB / 1.25 GB, free: 89.98 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/2.551, allocations: 132.5 kB / 1.25 GB, free: 89.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006775/2.551, allocations: 0.6094 MB / 1.251 GB, free: 89.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.835e-05/2.552, allocations: 41.69 kB / 1.251 GB, free: 89.15 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/2.552, allocations: 370.8 kB / 1.251 GB, free: 88.78 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.47e-05/2.552, allocations: 138 kB / 1.252 GB, free: 88.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/2.552, allocations: 12 kB / 1.252 GB, free: 88.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/2.552, allocations: 374.8 kB / 1.252 GB, free: 88.26 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/2.552, allocations: 205.8 kB / 1.252 GB, free: 88.06 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/2.553, allocations: 0.5092 MB / 1.253 GB, free: 87.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007878/2.554, allocations: 0.7372 MB / 1.253 GB, free: 86.53 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/2.554, allocations: 4 kB / 1.253 GB, free: 86.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001308/2.555, allocations: 0.879 MB / 1.254 GB, free: 85.63 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/2.555, allocations: 9 kB / 1.254 GB, free: 85.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/2.555, allocations: 15.98 kB / 1.254 GB, free: 85.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/2.556, allocations: 309.8 kB / 1.255 GB, free: 85.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/2.557, allocations: 119.8 kB / 1.255 GB, free: 85.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009677/2.558, allocations: 0.9318 MB / 1.256 GB, free: 84.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006198/2.558, allocations: 55.94 kB / 1.256 GB, free: 84.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/2.558, allocations: 67.92 kB / 1.256 GB, free: 84.11 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003574/2.559, allocations: 241.5 kB / 1.256 GB, free: 83.87 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/2.559, allocations: 63.3 kB / 1.256 GB, free: 83.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/2.56, allocations: 0.8693 MB / 1.257 GB, free: 82.91 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/2.56, allocations: 4 kB / 1.257 GB, free: 82.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/2.56, allocations: 11.92 kB / 1.257 GB, free: 82.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/2.56, allocations: 0 / 1.257 GB, free: 82.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/2.562, allocations: 1.434 MB / 1.258 GB, free: 81.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/2.562, allocations: 0 / 1.258 GB, free: 81.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009315/2.563, allocations: 211.8 kB / 1.258 GB, free: 81.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.031e-05/2.563, allocations: 24.84 kB / 1.258 GB, free: 81.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/2.563, allocations: 24.17 kB / 1.258 GB, free: 81.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/2.565, allocations: 2.692 MB / 1.261 GB, free: 78.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/2.565, allocations: 0 / 1.261 GB, free: 78.12 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/2.566, allocations: 0.8095 MB / 1.262 GB, free: 77.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002983/2.566, allocations: 196.2 kB / 1.262 GB, free: 77.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/2.566, allocations: 15.94 kB / 1.262 GB, free: 77.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/2.567, allocations: 23.98 kB / 1.262 GB, free: 77.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-05/2.567, allocations: 39.95 kB / 1.262 GB, free: 76.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.307e-05/2.567, allocations: 43.92 kB / 1.262 GB, free: 76.94 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004749/2.567, allocations: 435 kB / 1.263 GB, free: 76.52 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/2.567, allocations: 0 / 1.263 GB, free: 76.52 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001333/2.569, allocations: 331.8 kB / 1.263 GB, free: 76.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (39): * Single equations (assignments): 37 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001728/2.57, allocations: 0.9418 MB / 1.264 GB, free: 75.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001092/2.572, allocations: 0.5353 MB / 1.264 GB, free: 74.72 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/2.572, allocations: 8 kB / 1.264 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008545/2.572, allocations: 402.3 kB / 1.265 GB, free: 74.31 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/2.574, allocations: 335 kB / 1.265 GB, free: 73.99 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/2.577, allocations: 1.609 MB / 1.267 GB, free: 72.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/2.578, allocations: 0.9299 MB / 1.268 GB, free: 71.37 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004772/2.578, allocations: 127.4 kB / 1.268 GB, free: 71.24 MB / 0.5417 GB Notification: Performance of SimCode: time 1.412e-06/2.578, allocations: 0 / 1.268 GB, free: 71.24 MB / 0.5417 GB Notification: Performance of Templates: time 0.0248/2.603, allocations: 20.09 MB / 1.287 GB, free: 51.19 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches