Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 113 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001762/0.001762, allocations: 208.9 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2394/0.2394, allocations: 46.09 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001538, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4231, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2249/0.6481, allocations: 177.3 MB / 0.7048 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.6589, allocations: 5.339 MB / 0.71 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009762/0.6599, allocations: 19.88 kB / 0.71 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.6614, allocations: 314 kB / 0.7103 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005095/0.6665, allocations: 1.268 MB / 0.7116 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004645/0.6712, allocations: 0.9663 MB / 0.7125 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004193/0.6754, allocations: 1.86 MB / 0.7143 GB, free: 6 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.6771, allocations: 457.4 kB / 0.7148 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004184/0.6813, allocations: 1.109 MB / 0.7159 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.683, allocations: 0.6501 MB / 0.7165 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003281/0.6834, allocations: 60 kB / 0.7166 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.6861, allocations: 0.632 MB / 0.7172 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005782/0.6867, allocations: 263.3 kB / 0.7174 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.688, allocations: 398.2 kB / 0.7178 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00363/0.6917, allocations: 1.301 MB / 0.7191 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6917, allocations: 0 / 0.7191 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6917, allocations: 0 / 0.7191 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.702e-05/0.6918, allocations: 0 / 0.7191 GB, free: 1.141 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.3315/1.023, allocations: 1.097 MB / 0.7201 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.935e-05/1.023, allocations: 10.47 kB / 0.7202 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/1.025, allocations: 134.7 kB / 0.7203 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/1.026, allocations: 0.5378 MB / 0.7208 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/1.026, allocations: 99.59 kB / 0.7209 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/1.026, allocations: 52.47 kB / 0.721 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/1.028, allocations: 0.815 MB / 0.7217 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/1.028, allocations: 5.625 kB / 0.7218 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/1.028, allocations: 23.73 kB / 0.7218 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.98e-05/1.028, allocations: 40.75 kB / 0.7218 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/1.03, allocations: 0.6227 MB / 0.7224 GB, free: 185.4 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.004328/1.034, allocations: 3.932 MB / 0.7263 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/1.034, allocations: 355.3 kB / 0.7266 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/1.035, allocations: 173.5 kB / 0.7268 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/1.035, allocations: 95.12 kB / 0.7269 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/1.035, allocations: 37.34 kB / 0.7269 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.514e-06/1.035, allocations: 0 / 0.7269 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005753/1.041, allocations: 1.686 MB / 0.7285 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/1.041, allocations: 132.8 kB / 0.7287 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008577/1.042, allocations: 0.6108 MB / 0.7293 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/1.042, allocations: 32.67 kB / 0.7293 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/1.042, allocations: 366.1 kB / 0.7296 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/1.042, allocations: 144.9 kB / 0.7298 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/1.042, allocations: 160.9 kB / 0.7299 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.043, allocations: 375 kB / 0.7303 GB, free: 179 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/1.043, allocations: 201.2 kB / 0.7305 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/1.043, allocations: 0.5193 MB / 0.731 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009728/1.044, allocations: 0.7429 MB / 0.7317 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/1.044, allocations: 6.406 kB / 0.7317 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001636/1.046, allocations: 0.8883 MB / 0.7326 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/1.046, allocations: 14.47 kB / 0.7326 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/1.046, allocations: 10.19 kB / 0.7326 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/1.048, allocations: 310.2 kB / 0.7329 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/1.048, allocations: 118 kB / 0.733 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/1.049, allocations: 0.9479 MB / 0.7339 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006022/1.05, allocations: 26.44 kB / 0.734 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/1.05, allocations: 65.89 kB / 0.734 GB, free: 176.4 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.0004267/1.05, allocations: 247.2 kB / 0.7343 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/1.051, allocations: 69.84 kB / 0.7343 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/1.052, allocations: 0.8691 MB / 0.7352 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.052, allocations: 3.969 kB / 0.7352 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.052, allocations: 3.984 kB / 0.7352 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.052, allocations: 3.938 kB / 0.7352 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/1.054, allocations: 1.455 MB / 0.7366 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/1.054, allocations: 0 / 0.7366 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000973/1.055, allocations: 217.6 kB / 0.7368 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.501e-05/1.055, allocations: 19.38 kB / 0.7368 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/1.055, allocations: 26.61 kB / 0.7369 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/1.057, allocations: 2.874 MB / 0.7397 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.057, allocations: 7.781 kB / 0.7397 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.058, allocations: 0.8117 MB / 0.7405 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/1.058, allocations: 200.1 kB / 0.7407 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/1.058, allocations: 11.94 kB / 0.7407 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/1.058, allocations: 24.05 kB / 0.7407 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/1.059, allocations: 31.97 kB / 0.7407 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/1.059, allocations: 47.97 kB / 0.7408 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004368/1.059, allocations: 439 kB / 0.7412 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/1.059, allocations: 0 / 0.7412 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009575/1.06, allocations: 250.6 kB / 0.7414 GB, free: 169.8 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.0007433/1.061, allocations: 301.2 kB / 0.7417 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009861/1.062, allocations: 0.5591 MB / 0.7423 GB, free: 169 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.062, allocations: 1.219 kB / 0.7423 GB, free: 169 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007979/1.063, allocations: 411.5 kB / 0.7427 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/1.064, allocations: 366.6 kB / 0.743 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/1.066, allocations: 1.379 MB / 0.7444 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/1.066, allocations: 0.9222 MB / 0.7453 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/1.067, allocations: 123.4 kB / 0.7454 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/1.067, allocations: 4 kB / 0.7454 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.01888/1.085, allocations: 16.62 MB / 0.7616 GB, free: 149.2 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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