Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, allocations: 107.8 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001366, allocations: 209.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.1 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 75.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4156, allocations: 62.44 MB / 0.5317 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2087/0.6244, allocations: 177.3 MB / 0.7048 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007817/0.6323, allocations: 5.343 MB / 0.71 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009385/0.6332, allocations: 19.88 kB / 0.7101 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.6345, allocations: 306 kB / 0.7103 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004083/0.6386, allocations: 1.256 MB / 0.7116 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.6414, allocations: 0.9722 MB / 0.7125 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002532/0.6439, allocations: 1.852 MB / 0.7143 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000846/0.6448, allocations: 459.9 kB / 0.7148 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.6473, allocations: 1.09 MB / 0.7158 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.6485, allocations: 0.6617 MB / 0.7165 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002368/0.6488, allocations: 64 kB / 0.7165 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.6504, allocations: 0.6242 MB / 0.7171 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003885/0.6508, allocations: 267.3 kB / 0.7174 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006738/0.6515, allocations: 398.2 kB / 0.7178 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.654, allocations: 1.301 MB / 0.7191 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6541, allocations: 0 / 0.7191 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6541, allocations: 0 / 0.7191 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.926e-05/0.6541, allocations: 4 kB / 0.7191 GB, free: 1.199 MB / 0.5606 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.00287/0.657, allocations: 1.098 MB / 0.7201 GB, free: 52 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.657, allocations: 8.031 kB / 0.7201 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.379/1.036, allocations: 129.2 kB / 0.7203 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/1.037, allocations: 0.5354 MB / 0.7208 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/1.038, allocations: 99.09 kB / 0.7209 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/1.038, allocations: 51.12 kB / 0.7209 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/1.039, allocations: 0.8163 MB / 0.7217 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/1.04, allocations: 5.5 kB / 0.7217 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/1.04, allocations: 27.45 kB / 0.7218 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.92e-05/1.04, allocations: 44.31 kB / 0.7218 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/1.041, allocations: 0.6207 MB / 0.7224 GB, free: 185.5 MB / 0.5606 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.0045/1.046, allocations: 3.923 MB / 0.7262 GB, free: 182 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/1.046, allocations: 359.4 kB / 0.7266 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/1.047, allocations: 170.7 kB / 0.7267 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/1.047, allocations: 98.5 kB / 0.7268 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/1.047, allocations: 37.59 kB / 0.7269 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.236e-06/1.047, allocations: 0.7656 kB / 0.7269 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006141/1.053, allocations: 1.672 MB / 0.7285 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/1.053, allocations: 133.8 kB / 0.7286 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008336/1.054, allocations: 0.6244 MB / 0.7292 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/1.054, allocations: 32.58 kB / 0.7293 GB, free: 180 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/1.054, allocations: 365.9 kB / 0.7296 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/1.054, allocations: 141.5 kB / 0.7298 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/1.055, allocations: 160.8 kB / 0.7299 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.055, allocations: 374.7 kB / 0.7303 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/1.055, allocations: 208.8 kB / 0.7305 GB, free: 179 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/1.056, allocations: 0.5145 MB / 0.731 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/1.057, allocations: 0.7403 MB / 0.7317 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.057, allocations: 2.938 kB / 0.7317 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001684/1.058, allocations: 0.8879 MB / 0.7326 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/1.058, allocations: 10.03 kB / 0.7326 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/1.058, allocations: 10.5 kB / 0.7326 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/1.06, allocations: 313.9 kB / 0.7329 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/1.06, allocations: 121.1 kB / 0.733 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/1.062, allocations: 0.9463 MB / 0.7339 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006191/1.062, allocations: 27.16 kB / 0.7339 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/1.062, allocations: 69.89 kB / 0.734 GB, free: 176.5 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004577/1.063, allocations: 251.7 kB / 0.7343 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/1.063, allocations: 69.94 kB / 0.7343 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/1.065, allocations: 0.8629 MB / 0.7352 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/1.065, allocations: 5.875 kB / 0.7352 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.065, allocations: 0 / 0.7352 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.065, allocations: 0 / 0.7352 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/1.067, allocations: 1.459 MB / 0.7366 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.067, allocations: 0 / 0.7366 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.068, allocations: 208.3 kB / 0.7368 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.996e-05/1.068, allocations: 35.11 kB / 0.7368 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/1.068, allocations: 15.41 kB / 0.7368 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/1.069, allocations: 2.878 MB / 0.7396 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.069, allocations: 6.062 kB / 0.7397 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/1.071, allocations: 0.8148 MB / 0.7405 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/1.071, allocations: 180.3 kB / 0.7406 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.942e-05/1.071, allocations: 27.81 kB / 0.7406 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/1.071, allocations: 15.98 kB / 0.7407 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.865e-05/1.071, allocations: 44.02 kB / 0.7407 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.759e-05/1.071, allocations: 43.98 kB / 0.7407 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004421/1.072, allocations: 439 kB / 0.7412 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.01e-07/1.072, allocations: 0 / 0.7412 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009196/1.073, allocations: 255.2 kB / 0.7414 GB, free: 170.1 MB / 0.5606 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007586/1.074, allocations: 293.6 kB / 0.7417 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001093/1.075, allocations: 0.5541 MB / 0.7422 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/1.075, allocations: 1.219 kB / 0.7422 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000879/1.076, allocations: 419.4 kB / 0.7426 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/1.077, allocations: 369.9 kB / 0.743 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/1.079, allocations: 1.369 MB / 0.7443 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/1.08, allocations: 0.9261 MB / 0.7452 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/1.08, allocations: 127.4 kB / 0.7453 GB, free: 166 MB / 0.5606 GB Notification: Performance of SimCode: time 1.673e-06/1.08, allocations: 0 / 0.7453 GB, free: 166 MB / 0.5606 GB Notification: Performance of Templates: time 0.0196/1.1, allocations: 16.62 MB / 0.7616 GB, free: 149.5 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p