Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 182.7 kB / 16.41 MB, free: 5.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 222.5 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007436/0.0007436, allocations: 102.2 kB / 270.9 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1908/0.1908, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 12 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09905/0.09943, allocations: 58.87 MB / 490.3 MB, free: 9.316 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3582/0.4576, allocations: 163.8 MB / 0.6388 GB, free: 7.969 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.4679, allocations: 7.731 MB / 0.6463 GB, free: 224 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000864/0.4688, allocations: 23.81 kB / 0.6464 GB, free: 200 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008763/0.4697, allocations: 270.3 kB / 0.6466 GB, free: 15.93 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003543/0.4733, allocations: 1.263 MB / 0.6478 GB, free: 14.66 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.476, allocations: 0.888 MB / 0.6487 GB, free: 13.78 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.4787, allocations: 2.246 MB / 0.6509 GB, free: 11.53 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007971/0.4796, allocations: 375 kB / 0.6513 GB, free: 11.16 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/0.4821, allocations: 1.039 MB / 0.6523 GB, free: 10.11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.4833, allocations: 0.6657 MB / 0.6529 GB, free: 9.445 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.4835, allocations: 32 kB / 0.653 GB, free: 9.414 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.4852, allocations: 0.5968 MB / 0.6535 GB, free: 8.816 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004211/0.4857, allocations: 235.2 kB / 0.6538 GB, free: 8.586 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.486, allocations: 157.4 kB / 0.6539 GB, free: 8.426 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.4875, allocations: 0.9977 MB / 0.6549 GB, free: 7.426 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4875, allocations: 0 / 0.6549 GB, free: 7.426 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4875, allocations: 0 / 0.6549 GB, free: 7.426 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.099e-05/0.4875, allocations: 4 kB / 0.6549 GB, free: 7.422 MB / 458.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.00239/0.4899, allocations: 0.9932 MB / 0.6559 GB, free: 6.379 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.49, allocations: 16.02 kB / 0.6559 GB, free: 6.363 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008714/0.4909, allocations: 131.1 kB / 0.656 GB, free: 6.234 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009097/0.4918, allocations: 492.6 kB / 0.6565 GB, free: 5.711 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.4919, allocations: 104.4 kB / 0.6566 GB, free: 5.598 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.492, allocations: 51.95 kB / 0.6566 GB, free: 5.547 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.4934, allocations: 0.8174 MB / 0.6574 GB, free: 4.652 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.4934, allocations: 4 kB / 0.6574 GB, free: 4.648 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/0.4935, allocations: 31.97 kB / 0.6575 GB, free: 4.617 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-05/0.4936, allocations: 36.98 kB / 0.6575 GB, free: 4.582 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.4947, allocations: 0.6243 MB / 0.6581 GB, free: 3.957 MB / 458.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.004669/0.4994, allocations: 3.971 MB / 0.662 GB, free: 15.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/0.5, allocations: 359.1 kB / 0.6623 GB, free: 15.38 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.5003, allocations: 173.3 kB / 0.6625 GB, free: 15.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004735/0.5007, allocations: 357.5 kB / 0.6628 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.5008, allocations: 42.73 kB / 0.6629 GB, free: 14.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.5008, allocations: 0 / 0.6629 GB, free: 14.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.005494/0.5063, allocations: 1.668 MB / 0.6645 GB, free: 13.01 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.5064, allocations: 140.4 kB / 0.6646 GB, free: 12.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000821/0.5073, allocations: 0.6055 MB / 0.6652 GB, free: 12.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/0.5073, allocations: 33.7 kB / 0.6653 GB, free: 12.19 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.5076, allocations: 362.9 kB / 0.6656 GB, free: 11.83 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.5078, allocations: 146 kB / 0.6657 GB, free: 11.69 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.5078, allocations: 16 kB / 0.6658 GB, free: 11.67 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.508, allocations: 378.8 kB / 0.6661 GB, free: 11.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.5084, allocations: 197.9 kB / 0.6663 GB, free: 11.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/0.5091, allocations: 0.5047 MB / 0.6668 GB, free: 10.45 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/0.5096, allocations: 287.8 kB / 0.6671 GB, free: 10.17 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5096, allocations: 3.938 kB / 0.6671 GB, free: 10.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001556/0.5112, allocations: 0.8845 MB / 0.6679 GB, free: 9.273 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.5112, allocations: 15.44 kB / 0.668 GB, free: 9.262 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.5113, allocations: 8.094 kB / 0.668 GB, free: 9.254 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.5128, allocations: 324.6 kB / 0.6683 GB, free: 8.934 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.5132, allocations: 119.8 kB / 0.6684 GB, free: 8.816 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.5144, allocations: 0.9269 MB / 0.6693 GB, free: 7.863 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/0.515, allocations: 47.98 kB / 0.6693 GB, free: 7.816 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.112e-05/0.5151, allocations: 71.98 kB / 0.6694 GB, free: 7.746 MB / 474.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.0003388/0.5154, allocations: 241.5 kB / 0.6696 GB, free: 7.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.5156, allocations: 71.16 kB / 0.6697 GB, free: 7.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.5171, allocations: 0.6857 MB / 0.6704 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.5171, allocations: 4 kB / 0.6704 GB, free: 6.715 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5171, allocations: 7.984 kB / 0.6704 GB, free: 6.707 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5171, allocations: 0 / 0.6704 GB, free: 6.707 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.5193, allocations: 1.598 MB / 0.6719 GB, free: 4.965 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.5193, allocations: 8.125 kB / 0.6719 GB, free: 4.957 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.5203, allocations: 203.8 kB / 0.6721 GB, free: 4.758 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.55e-05/0.5204, allocations: 24.84 kB / 0.6722 GB, free: 4.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.5205, allocations: 19.94 kB / 0.6722 GB, free: 4.711 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.5226, allocations: 2.691 MB / 0.6748 GB, free: 1.758 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.5227, allocations: 7.969 kB / 0.6748 GB, free: 1.75 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.5239, allocations: 0.8001 MB / 0.6756 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.5242, allocations: 192.3 kB / 0.6758 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.5243, allocations: 11.94 kB / 0.6758 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.5248, allocations: 28.05 kB / 0.6758 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.91e-05/0.5249, allocations: 35.95 kB / 0.6759 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/0.525, allocations: 43.98 kB / 0.6759 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005388/0.5255, allocations: 427 kB / 0.6763 GB, free: 184 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5255, allocations: 0 / 0.6763 GB, free: 184 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.000991/0.5265, allocations: 300 kB / 0.6766 GB, free: 15.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0009306/0.5275, allocations: 365.2 kB / 0.6769 GB, free: 15.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.5287, allocations: 0.5385 MB / 0.6775 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5287, allocations: 7.859 kB / 0.6775 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009282/0.5296, allocations: 400 kB / 0.6779 GB, free: 14.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.5313, allocations: 350.9 kB / 0.6782 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.5336, allocations: 1.599 MB / 0.6798 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.5342, allocations: 0.9261 MB / 0.6807 GB, free: 11.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.5346, allocations: 107.4 kB / 0.6808 GB, free: 11.53 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5346, allocations: 4 kB / 0.6808 GB, free: 11.52 MB / 490.7 MB Notification: Performance of Templates: time 0.02519/0.5598, allocations: 16.81 MB / 0.6972 GB, free: 10.71 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches