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.00159/0.00159, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001785/0.001785, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 247.5 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.12 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 83.44 kB / 418.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1315, allocations: 62.45 MB / 480.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4694/0.601, allocations: 177.3 MB / 0.6426 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007864/0.6089, allocations: 5.321 MB / 0.6478 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006609/0.6096, allocations: 23.81 kB / 0.6479 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009807/0.6106, allocations: 325.9 kB / 0.6482 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.614, allocations: 1.242 MB / 0.6494 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.6168, allocations: 0.966 MB / 0.6503 GB, free: 9.922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003335/0.6201, allocations: 1.852 MB / 0.6521 GB, free: 8.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008834/0.621, allocations: 470.3 kB / 0.6526 GB, free: 7.602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.6239, allocations: 1.074 MB / 0.6536 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.625, allocations: 0.6578 MB / 0.6543 GB, free: 5.863 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.6251, allocations: 68 kB / 0.6543 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.6266, allocations: 0.5774 MB / 0.6549 GB, free: 5.219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003169/0.6269, allocations: 267.3 kB / 0.6552 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004884/0.6274, allocations: 398.2 kB / 0.6555 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.6292, allocations: 1.297 MB / 0.6568 GB, free: 3.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6293, allocations: 0 / 0.6568 GB, free: 3.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6293, allocations: 0 / 0.6568 GB, free: 3.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.6293, allocations: 0 / 0.6568 GB, free: 3.266 MB / 494.1 MB 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.002379/0.6317, allocations: 1.102 MB / 0.6579 GB, free: 2.109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.6317, allocations: 12.03 kB / 0.6579 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008264/0.6325, allocations: 135.1 kB / 0.658 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008316/0.6334, allocations: 0.504 MB / 0.6585 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.6335, allocations: 100.3 kB / 0.6586 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.6336, allocations: 51.98 kB / 0.6587 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.6351, allocations: 0.8208 MB / 0.6595 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.6351, allocations: 0 / 0.6595 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/0.6352, allocations: 27.98 kB / 0.6595 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-05/0.6353, allocations: 44.91 kB / 0.6595 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.6364, allocations: 0.6204 MB / 0.6601 GB, free: 15.68 MB / 0.4981 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.005043/0.6415, allocations: 3.955 MB / 0.664 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/0.6421, allocations: 354.5 kB / 0.6643 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.6424, allocations: 173.3 kB / 0.6645 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.6426, allocations: 93.38 kB / 0.6646 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.6426, allocations: 38.84 kB / 0.6646 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.225e-06/0.6426, allocations: 0 / 0.6646 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.006134/0.6488, allocations: 1.673 MB / 0.6663 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.6489, allocations: 136.5 kB / 0.6664 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009006/0.6498, allocations: 0.6133 MB / 0.667 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/0.6499, allocations: 37.64 kB / 0.667 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.6502, allocations: 366.8 kB / 0.6674 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.6504, allocations: 142 kB / 0.6675 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/0.6507, allocations: 162.5 kB / 0.6677 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.6509, allocations: 374.8 kB / 0.668 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.6513, allocations: 201.9 kB / 0.6682 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000662/0.652, allocations: 0.5125 MB / 0.6687 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.6531, allocations: 0.763 MB / 0.6695 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.6531, allocations: 4 kB / 0.6695 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001684/0.6548, allocations: 0.8836 MB / 0.6703 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.6548, allocations: 8 kB / 0.6703 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.6549, allocations: 12 kB / 0.6704 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.6563, allocations: 312.9 kB / 0.6707 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.6568, allocations: 119.8 kB / 0.6708 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.6581, allocations: 0.9309 MB / 0.6717 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/0.6586, allocations: 28 kB / 0.6717 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.6587, allocations: 64.86 kB / 0.6718 GB, free: 3.023 MB / 0.4981 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.0004223/0.6592, allocations: 253.5 kB / 0.672 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.6593, allocations: 67.16 kB / 0.6721 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.6613, allocations: 0.8596 MB / 0.6729 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.6613, allocations: 4 kB / 0.6729 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6613, allocations: 4 kB / 0.6729 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6613, allocations: 0 / 0.6729 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.6638, allocations: 1.461 MB / 0.6743 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.6638, allocations: 4 kB / 0.6744 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.6649, allocations: 211.9 kB / 0.6746 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.665, allocations: 24.84 kB / 0.6746 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.6651, allocations: 16 kB / 0.6746 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/0.6677, allocations: 2.874 MB / 0.6774 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6677, allocations: 4.031 kB / 0.6774 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.6692, allocations: 0.8216 MB / 0.6782 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/0.6696, allocations: 184.3 kB / 0.6784 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.6698, allocations: 8 kB / 0.6784 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/0.6703, allocations: 31.92 kB / 0.6784 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.6704, allocations: 43.83 kB / 0.6785 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.895e-05/0.6705, allocations: 43.98 kB / 0.6785 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007266/0.6712, allocations: 439 kB / 0.6789 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6712, allocations: 4.062 kB / 0.6789 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001201/0.6724, allocations: 256 kB / 0.6792 GB, free: 10.95 MB / 0.5137 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.001091/0.6735, allocations: 298.3 kB / 0.6795 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.6751, allocations: 0.6129 MB / 0.6801 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.6752, allocations: 0 / 0.6801 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.6762, allocations: 411.4 kB / 0.6804 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/0.6781, allocations: 362.2 kB / 0.6808 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.6808, allocations: 1.379 MB / 0.6821 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/0.6815, allocations: 0.93 MB / 0.683 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004695/0.682, allocations: 127.4 kB / 0.6832 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.682, allocations: 4 kB / 0.6832 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of Templates: time 0.02803/0.71, allocations: 16.56 MB / 0.6993 GB, free: 6.273 MB / 0.5294 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