Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001473, allocations: 198.1 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 226.6 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000784/0.0007842, allocations: 97.14 kB / 295.1 MB, free: 4.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1952/0.1952, allocations: 44.84 MB / 392 MB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002421/0.0002422, allocations: 8 kB / 464.7 MB, free: 68.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1131, allocations: 62.97 MB / 0.5153 GB, free: 5.133 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3635/0.4766, allocations: 159.1 MB / 0.6707 GB, free: 6.457 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006051/0.4827, allocations: 5.096 MB / 0.6756 GB, free: 1.348 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.4833, allocations: 27.75 kB / 0.6757 GB, free: 1.32 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006722/0.484, allocations: 254.4 kB / 0.6759 GB, free: 1.07 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002506/0.4865, allocations: 1.085 MB / 0.677 GB, free: 15.98 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.4884, allocations: 0.756 MB / 0.6777 GB, free: 15.23 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002035/0.4904, allocations: 2.254 MB / 0.6799 GB, free: 12.98 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004753/0.4909, allocations: 371.9 kB / 0.6803 GB, free: 12.61 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.4924, allocations: 0.9146 MB / 0.6812 GB, free: 11.69 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007787/0.4932, allocations: 0.6541 MB / 0.6818 GB, free: 11.03 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.494e-05/0.4933, allocations: 32 kB / 0.6818 GB, free: 11 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009836/0.4943, allocations: 460.8 kB / 0.6823 GB, free: 10.55 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.4945, allocations: 235.2 kB / 0.6825 GB, free: 10.32 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.4947, allocations: 165.4 kB / 0.6827 GB, free: 10.15 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000901/0.4956, allocations: 0.9291 MB / 0.6836 GB, free: 9.223 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4956, allocations: 3.984 kB / 0.6836 GB, free: 9.219 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4956, allocations: 3.938 kB / 0.6836 GB, free: 9.215 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.4956, allocations: 0 / 0.6836 GB, free: 9.215 MB / 474.7 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.001751/0.4974, allocations: 0.9582 MB / 0.6845 GB, free: 8.207 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.4974, allocations: 8.031 kB / 0.6845 GB, free: 8.199 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007325/0.4981, allocations: 131 kB / 0.6846 GB, free: 8.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007845/0.4989, allocations: 492.6 kB / 0.6851 GB, free: 7.547 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.499, allocations: 112.3 kB / 0.6852 GB, free: 7.426 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/0.4991, allocations: 47.94 kB / 0.6853 GB, free: 7.379 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.5003, allocations: 0.8213 MB / 0.6861 GB, free: 6.484 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.5003, allocations: 7.984 kB / 0.6861 GB, free: 6.477 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.671e-05/0.5004, allocations: 20 kB / 0.6861 GB, free: 6.457 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.825e-05/0.5005, allocations: 36.98 kB / 0.6861 GB, free: 6.418 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009566/0.5015, allocations: 0.636 MB / 0.6867 GB, free: 5.785 MB / 474.7 MB 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.004088/0.5056, allocations: 3.921 MB / 0.6906 GB, free: 1.613 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.5061, allocations: 358.3 kB / 0.6909 GB, free: 1.258 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.5064, allocations: 173.3 kB / 0.6911 GB, free: 1.086 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.5065, allocations: 89.38 kB / 0.6912 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.5066, allocations: 42.78 kB / 0.6912 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.5066, allocations: 0 / 0.6912 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.005061/0.5116, allocations: 1.665 MB / 0.6928 GB, free: 15.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.5117, allocations: 140.5 kB / 0.693 GB, free: 15.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006396/0.5124, allocations: 0.6094 MB / 0.6936 GB, free: 14.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.5124, allocations: 33.7 kB / 0.6936 GB, free: 14.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.5127, allocations: 366.8 kB / 0.6939 GB, free: 14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.5128, allocations: 138 kB / 0.6941 GB, free: 13.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.5129, allocations: 16 kB / 0.6941 GB, free: 13.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.513, allocations: 378.7 kB / 0.6945 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.5134, allocations: 201.9 kB / 0.6946 GB, free: 13.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/0.5139, allocations: 0.5125 MB / 0.6951 GB, free: 12.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.5143, allocations: 296.4 kB / 0.6954 GB, free: 12.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5144, allocations: 4 kB / 0.6954 GB, free: 12.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001325/0.5157, allocations: 0.8719 MB / 0.6963 GB, free: 11.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.5157, allocations: 9.875 kB / 0.6963 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.5157, allocations: 16.81 kB / 0.6963 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.5171, allocations: 321.3 kB / 0.6966 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.5175, allocations: 131.8 kB / 0.6967 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.5186, allocations: 0.9283 MB / 0.6976 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.5191, allocations: 44.05 kB / 0.6977 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.246e-05/0.5192, allocations: 71.98 kB / 0.6978 GB, free: 9.91 MB / 490.7 MB 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.0003192/0.5195, allocations: 242.2 kB / 0.698 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5196, allocations: 71.16 kB / 0.6981 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.5212, allocations: 0.8611 MB / 0.6989 GB, free: 8.719 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.5212, allocations: 8 kB / 0.6989 GB, free: 8.711 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5213, allocations: 11.88 kB / 0.6989 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5213, allocations: 3.984 kB / 0.6989 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.5231, allocations: 1.448 MB / 0.7003 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.5232, allocations: 7.953 kB / 0.7003 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009681/0.5241, allocations: 211.8 kB / 0.7005 GB, free: 6.898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-05/0.5242, allocations: 20.84 kB / 0.7006 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.5243, allocations: 24.17 kB / 0.7006 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.5261, allocations: 2.68 MB / 0.7032 GB, free: 3.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5261, allocations: 0 / 0.7032 GB, free: 3.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.5273, allocations: 0.8217 MB / 0.704 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.5275, allocations: 192.3 kB / 0.7042 GB, free: 2.844 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/0.5276, allocations: 16 kB / 0.7042 GB, free: 2.828 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.528, allocations: 23.98 kB / 0.7042 GB, free: 2.805 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.5281, allocations: 35.95 kB / 0.7043 GB, free: 2.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/0.5282, allocations: 51.92 kB / 0.7043 GB, free: 2.719 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004797/0.5287, allocations: 427 kB / 0.7047 GB, free: 2.305 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5287, allocations: 0 / 0.7047 GB, free: 2.305 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00085/0.5295, allocations: 259.9 kB / 0.705 GB, free: 2.051 MB / 490.7 MB 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.000721/0.5303, allocations: 293.8 kB / 0.7052 GB, free: 1.758 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.5314, allocations: 0.5462 MB / 0.7058 GB, free: 1.211 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.5314, allocations: 5.438 kB / 0.7058 GB, free: 1.207 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008933/0.5323, allocations: 414.6 kB / 0.7062 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.5339, allocations: 344.3 kB / 0.7065 GB, free: 472 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.536, allocations: 1.603 MB / 0.7081 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.5364, allocations: 0.926 MB / 0.709 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.5369, allocations: 131.3 kB / 0.7091 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.5369, allocations: 4 kB / 0.7091 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.02051/0.5574, allocations: 16.33 MB / 0.7251 GB, free: 13.44 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches