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.001496/0.001496, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001851/0.001851, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3203, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.1786/0.499, allocations: 177.3 MB / 0.7048 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007445/0.5064, allocations: 5.339 MB / 0.71 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009619/0.5074, allocations: 19.88 kB / 0.71 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.5087, allocations: 318 kB / 0.7104 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00393/0.5126, allocations: 1.249 MB / 0.7116 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.5156, allocations: 0.9691 MB / 0.7125 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002668/0.5183, allocations: 1.848 MB / 0.7143 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008664/0.5191, allocations: 465.4 kB / 0.7148 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/0.5217, allocations: 1.09 MB / 0.7158 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.523, allocations: 0.654 MB / 0.7165 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.5232, allocations: 60 kB / 0.7165 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.5247, allocations: 0.6242 MB / 0.7171 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003153/0.525, allocations: 271.3 kB / 0.7174 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006787/0.5257, allocations: 394.2 kB / 0.7178 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.5278, allocations: 1.301 MB / 0.719 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5278, allocations: 4 kB / 0.719 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5278, allocations: 0 / 0.719 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.463e-05/0.5279, allocations: 4 kB / 0.719 GB, free: 1.164 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.002503/0.5304, allocations: 1.102 MB / 0.7201 GB, free: 12 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5304, allocations: 8.031 kB / 0.7201 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.238/0.7684, allocations: 130.2 kB / 0.7203 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.7695, allocations: 0.5363 MB / 0.7208 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.7696, allocations: 99.97 kB / 0.7209 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.7697, allocations: 51.39 kB / 0.7209 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.7711, allocations: 0.8186 MB / 0.7217 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.7712, allocations: 5.406 kB / 0.7217 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.262e-05/0.7712, allocations: 26.36 kB / 0.7218 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.101e-05/0.7713, allocations: 37.3 kB / 0.7218 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.7724, allocations: 0.621 MB / 0.7224 GB, free: 185.6 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.003526/0.7759, allocations: 3.925 MB / 0.7262 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.7765, allocations: 363.2 kB / 0.7266 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.7767, allocations: 171.8 kB / 0.7267 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.536e-05/0.7768, allocations: 99.27 kB / 0.7268 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.7769, allocations: 37.97 kB / 0.7269 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.594e-06/0.7769, allocations: 0 / 0.7269 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.0055/0.7824, allocations: 1.675 MB / 0.7285 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.7824, allocations: 136.5 kB / 0.7286 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006516/0.7831, allocations: 0.6184 MB / 0.7292 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.7832, allocations: 40.23 kB / 0.7293 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.7833, allocations: 358.4 kB / 0.7296 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.871e-05/0.7834, allocations: 144.7 kB / 0.7298 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.7837, allocations: 161.1 kB / 0.7299 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.193e-05/0.7837, allocations: 377.8 kB / 0.7303 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.7841, allocations: 208.3 kB / 0.7305 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.7846, allocations: 0.5159 MB / 0.731 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008296/0.7854, allocations: 0.7424 MB / 0.7317 GB, free: 178 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.7854, allocations: 5.219 kB / 0.7317 GB, free: 178 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0014/0.7868, allocations: 0.8861 MB / 0.7326 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.7869, allocations: 9.531 kB / 0.7326 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.7869, allocations: 10.09 kB / 0.7326 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.7882, allocations: 318.9 kB / 0.7329 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.7886, allocations: 117 kB / 0.733 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009801/0.7896, allocations: 0.9416 MB / 0.7339 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.7902, allocations: 26.09 kB / 0.7339 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/0.7903, allocations: 69.89 kB / 0.734 GB, free: 176.6 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.0003236/0.7906, allocations: 248 kB / 0.7343 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.7907, allocations: 64.91 kB / 0.7343 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.7922, allocations: 0.8633 MB / 0.7352 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.7922, allocations: 8.109 kB / 0.7352 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.7922, allocations: 7.969 kB / 0.7352 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.7922, allocations: 0 / 0.7352 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.7939, allocations: 1.447 MB / 0.7366 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7939, allocations: 3.969 kB / 0.7366 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.7949, allocations: 213 kB / 0.7368 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.705e-05/0.795, allocations: 32.14 kB / 0.7368 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.7951, allocations: 19.22 kB / 0.7368 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.7965, allocations: 2.865 MB / 0.7396 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.7966, allocations: 11.75 kB / 0.7396 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.7976, allocations: 0.8138 MB / 0.7404 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.7978, allocations: 192.3 kB / 0.7406 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.963e-05/0.7979, allocations: 11.94 kB / 0.7406 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.7983, allocations: 19.92 kB / 0.7407 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/0.7984, allocations: 43.95 kB / 0.7407 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.7985, allocations: 43.92 kB / 0.7407 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004217/0.7989, allocations: 435 kB / 0.7412 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7989, allocations: 0 / 0.7412 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008659/0.7998, allocations: 263.2 kB / 0.7414 GB, free: 170.2 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.0006849/0.8005, allocations: 300 kB / 0.7417 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009857/0.8015, allocations: 0.5548 MB / 0.7422 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.8015, allocations: 1.219 kB / 0.7422 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000813/0.8023, allocations: 415.2 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.001537/0.8039, allocations: 373 kB / 0.743 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.8057, allocations: 1.368 MB / 0.7443 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.806, allocations: 0.93 MB / 0.7452 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003489/0.8064, allocations: 131.4 kB / 0.7454 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.8064, allocations: 3.938 kB / 0.7454 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.01689/0.8233, allocations: 16.62 MB / 0.7616 GB, free: 149.5 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