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.00112/0.00112, allocations: 192 kB / 16.09 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 226.5 MB / 243.4 MB, free: 8.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001112/0.001112, allocations: 96.19 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4077/0.4077, allocations: 44.81 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002723/0.0002723, allocations: 4 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3594, allocations: 62.96 MB / 0.5159 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.1869/0.5463, allocations: 159.1 MB / 0.6713 GB, free: 9.922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008174/0.5545, allocations: 5.109 MB / 0.6763 GB, free: 4.801 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.5561, allocations: 23.81 kB / 0.6763 GB, free: 4.777 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.5574, allocations: 254.4 kB / 0.6765 GB, free: 4.527 MB / 490.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.004503/0.5619, allocations: 1.124 MB / 0.6776 GB, free: 3.398 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.5647, allocations: 0.7796 MB / 0.6784 GB, free: 2.629 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003141/0.5679, allocations: 2.261 MB / 0.6806 GB, free: 372 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3883/0.9562, allocations: 382.7 kB / 0.681 GB, free: 5.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00346/0.9597, allocations: 0.9473 MB / 0.6819 GB, free: 5.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.961, allocations: 0.6541 MB / 0.6825 GB, free: 5.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.9611, allocations: 36.56 kB / 0.6826 GB, free: 5.977 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.9628, allocations: 0.5002 MB / 0.6831 GB, free: 5.977 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.9631, allocations: 241.3 kB / 0.6833 GB, free: 5.977 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007467/0.9638, allocations: 381 kB / 0.6837 GB, free: 21.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.965, allocations: 0.9517 MB / 0.6846 GB, free: 21.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.965, allocations: 2.906 kB / 0.6846 GB, free: 21.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.004e-06/0.965, allocations: 0 / 0.6846 GB, free: 21.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.965, allocations: 2.438 kB / 0.6846 GB, free: 21.92 MB / 0.4948 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.002033/0.9671, allocations: 0.9512 MB / 0.6855 GB, free: 21.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.9671, allocations: 10.31 kB / 0.6855 GB, free: 21.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007612/0.9679, allocations: 128.8 kB / 0.6856 GB, free: 21.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008146/0.9687, allocations: 0.4992 MB / 0.6861 GB, free: 21.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.9688, allocations: 101.8 kB / 0.6862 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.505e-05/0.9689, allocations: 50.47 kB / 0.6863 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.9702, allocations: 0.8177 MB / 0.6871 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.9703, allocations: 5.375 kB / 0.6871 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-05/0.9703, allocations: 25.59 kB / 0.6871 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.257e-05/0.9704, allocations: 39.83 kB / 0.6871 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.9714, allocations: 0.6244 MB / 0.6878 GB, free: 20.76 MB / 0.4948 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.004644/0.9761, allocations: 3.944 MB / 0.6916 GB, free: 18.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.9767, allocations: 344.8 kB / 0.6919 GB, free: 18.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.977, allocations: 173.2 kB / 0.6921 GB, free: 18.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.9771, allocations: 95.59 kB / 0.6922 GB, free: 18.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.9771, allocations: 40.09 kB / 0.6922 GB, free: 18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.425e-06/0.9771, allocations: 0 / 0.6922 GB, free: 18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.005102/0.9823, allocations: 1.67 MB / 0.6939 GB, free: 17.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/0.9824, allocations: 137.3 kB / 0.694 GB, free: 17.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006976/0.9831, allocations: 0.607 MB / 0.6946 GB, free: 17.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/0.9831, allocations: 36.58 kB / 0.6946 GB, free: 17.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.9834, allocations: 359.7 kB / 0.695 GB, free: 16.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.9835, allocations: 143.5 kB / 0.6951 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.9836, allocations: 12.84 kB / 0.6951 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.9837, allocations: 379.3 kB / 0.6955 GB, free: 16.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.9841, allocations: 199.2 kB / 0.6957 GB, free: 16.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/0.9846, allocations: 0.5164 MB / 0.6962 GB, free: 16.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008741/0.9855, allocations: 0.7403 MB / 0.6969 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.9855, allocations: 3.938 kB / 0.6969 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001388/0.9869, allocations: 0.877 MB / 0.6978 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.9869, allocations: 9.562 kB / 0.6978 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.9869, allocations: 15.95 kB / 0.6978 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.9883, allocations: 323.7 kB / 0.6981 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.9887, allocations: 122 kB / 0.6982 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.9897, allocations: 0.9343 MB / 0.6991 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.9903, allocations: 54.42 kB / 0.6992 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/0.9904, allocations: 63.86 kB / 0.6992 GB, free: 15.13 MB / 0.4948 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 (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.0003528/0.9907, allocations: 247.6 kB / 0.6995 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.9909, allocations: 69.88 kB / 0.6995 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.9927, allocations: 0.8569 MB / 0.7004 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.9927, allocations: 11.62 kB / 0.7004 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.9927, allocations: 0 / 0.7004 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.9928, allocations: 2.438 kB / 0.7004 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.9954, allocations: 1.45 MB / 0.7018 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.9954, allocations: 2.516 kB / 0.7018 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.9966, allocations: 206.9 kB / 0.702 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001165/0.9967, allocations: 28.58 kB / 0.702 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.822e-05/0.9968, allocations: 20.45 kB / 0.702 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.9992, allocations: 2.681 MB / 0.7047 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.9993, allocations: 6.016 kB / 0.7047 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/1.001, allocations: 0.8147 MB / 0.7055 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/1.001, allocations: 192.7 kB / 0.7056 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/1.001, allocations: 10.44 kB / 0.7057 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/1.002, allocations: 31 kB / 0.7057 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/1.002, allocations: 46.25 kB / 0.7057 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.705e-05/1.002, allocations: 43.86 kB / 0.7058 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007444/1.003, allocations: 428.6 kB / 0.7062 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/1.003, allocations: 0.6562 kB / 0.7062 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001204/1.004, allocations: 257.1 kB / 0.7064 GB, free: 11.12 MB / 0.4948 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 (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.0008387/1.005, allocations: 300.7 kB / 0.7067 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001252/1.006, allocations: 0.5471 MB / 0.7072 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.006, allocations: 10.39 kB / 0.7073 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/1.007, allocations: 406.2 kB / 0.7076 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/1.009, allocations: 330.6 kB / 0.708 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/1.012, allocations: 1.611 MB / 0.7095 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/1.012, allocations: 0.9286 MB / 0.7104 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/1.013, allocations: 129.7 kB / 0.7106 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/1.013, allocations: 0.9375 kB / 0.7106 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of Templates: time 0.02496/1.038, allocations: 16.35 MB / 0.7265 GB, free: 4.66 MB / 0.4948 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