Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009314/0.0009315, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 226.5 MB / 243.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 94.84 kB / 295.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3713/0.3713, allocations: 44.83 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003197, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3769, allocations: 62.96 MB / 0.5159 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.191/0.5679, allocations: 159.1 MB / 0.6712 GB, free: 9.938 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007855/0.5758, allocations: 5.101 MB / 0.6762 GB, free: 4.824 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.577, allocations: 27.81 kB / 0.6763 GB, free: 4.797 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.5782, allocations: 262.3 kB / 0.6765 GB, free: 4.539 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.004637/0.5828, allocations: 1.205 MB / 0.6777 GB, free: 3.332 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004345/0.5872, allocations: 0.8544 MB / 0.6785 GB, free: 2.484 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004196/0.5914, allocations: 2.265 MB / 0.6807 GB, free: 220 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3881/0.9795, allocations: 381.2 kB / 0.6811 GB, free: 6.02 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.9827, allocations: 0.9519 MB / 0.682 GB, free: 6.02 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.9846, allocations: 0.7416 MB / 0.6827 GB, free: 6.016 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003377/0.985, allocations: 32.12 kB / 0.6828 GB, free: 6.016 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.9869, allocations: 0.51 MB / 0.6833 GB, free: 6.016 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005387/0.9875, allocations: 237.5 kB / 0.6835 GB, free: 6.012 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.9887, allocations: 382.6 kB / 0.6839 GB, free: 21.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.9902, allocations: 0.9523 MB / 0.6848 GB, free: 21.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.9903, allocations: 0 / 0.6848 GB, free: 21.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9903, allocations: 0 / 0.6848 GB, free: 21.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.413e-05/0.9903, allocations: 0 / 0.6848 GB, free: 21.95 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.002378/0.9927, allocations: 0.9449 MB / 0.6857 GB, free: 21.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.9927, allocations: 10.78 kB / 0.6857 GB, free: 21.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008862/0.9936, allocations: 135.5 kB / 0.6859 GB, free: 21.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009563/0.9946, allocations: 0.5022 MB / 0.6863 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.9947, allocations: 100.2 kB / 0.6864 GB, free: 21.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.9949, allocations: 55.94 kB / 0.6865 GB, free: 21.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.9962, allocations: 0.8193 MB / 0.6873 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.9962, allocations: 5.562 kB / 0.6873 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-05/0.9963, allocations: 26.94 kB / 0.6873 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.907e-05/0.9964, allocations: 38.03 kB / 0.6874 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.9975, allocations: 0.6231 MB / 0.688 GB, free: 20.79 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.004578/1.002, allocations: 3.933 MB / 0.6918 GB, free: 18.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/1.003, allocations: 353.6 kB / 0.6922 GB, free: 18.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/1.003, allocations: 174.8 kB / 0.6923 GB, free: 18.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/1.003, allocations: 91.55 kB / 0.6924 GB, free: 18.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/1.003, allocations: 37.25 kB / 0.6924 GB, free: 18.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 3.867e-06/1.003, allocations: 4 kB / 0.6924 GB, free: 18.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.005249/1.008, allocations: 1.674 MB / 0.6941 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/1.008, allocations: 133.4 kB / 0.6942 GB, free: 17.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008123/1.009, allocations: 0.6039 MB / 0.6948 GB, free: 17.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.211e-05/1.009, allocations: 35.02 kB / 0.6948 GB, free: 17.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/1.01, allocations: 373.7 kB / 0.6952 GB, free: 16.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/1.01, allocations: 146.4 kB / 0.6953 GB, free: 16.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/1.01, allocations: 15.25 kB / 0.6953 GB, free: 16.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.01, allocations: 374.7 kB / 0.6957 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/1.01, allocations: 197.1 kB / 0.6959 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/1.011, allocations: 0.5119 MB / 0.6964 GB, free: 16.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008959/1.012, allocations: 0.7433 MB / 0.6971 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/1.012, allocations: 2 kB / 0.6971 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001461/1.013, allocations: 0.8789 MB / 0.698 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.013, allocations: 12.97 kB / 0.698 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.013, allocations: 9.094 kB / 0.698 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/1.015, allocations: 327.6 kB / 0.6983 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/1.015, allocations: 120.4 kB / 0.6984 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/1.016, allocations: 0.9267 MB / 0.6993 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/1.017, allocations: 51.08 kB / 0.6994 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.383e-05/1.017, allocations: 66.23 kB / 0.6994 GB, free: 15.16 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.0003889/1.017, allocations: 241.4 kB / 0.6997 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/1.017, allocations: 71 kB / 0.6997 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/1.019, allocations: 0.8614 MB / 0.7006 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/1.019, allocations: 13.39 kB / 0.7006 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.019, allocations: 1.859 kB / 0.7006 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/1.019, allocations: 3.25 kB / 0.7006 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/1.022, allocations: 1.459 MB / 0.702 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/1.022, allocations: 0.9688 kB / 0.702 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/1.023, allocations: 208 kB / 0.7022 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.069e-05/1.023, allocations: 26.08 kB / 0.7022 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.399e-05/1.023, allocations: 22.03 kB / 0.7023 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/1.025, allocations: 2.671 MB / 0.7049 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.025, allocations: 5.734 kB / 0.7049 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/1.026, allocations: 0.8253 MB / 0.7057 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/1.027, allocations: 190 kB / 0.7059 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/1.027, allocations: 16.08 kB / 0.7059 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/1.027, allocations: 25.73 kB / 0.7059 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.028, allocations: 43.28 kB / 0.7059 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.912e-05/1.028, allocations: 46.38 kB / 0.706 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006604/1.028, allocations: 431.8 kB / 0.7064 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.21e-07/1.028, allocations: 0 / 0.7064 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001085/1.029, allocations: 259 kB / 0.7067 GB, free: 11.14 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.0008696/1.03, allocations: 278.4 kB / 0.7069 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001356/1.032, allocations: 0.5462 MB / 0.7074 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.032, allocations: 5.047 kB / 0.7075 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/1.033, allocations: 408.7 kB / 0.7078 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/1.035, allocations: 337.3 kB / 0.7082 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/1.037, allocations: 1.627 MB / 0.7098 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/1.038, allocations: 0.9247 MB / 0.7107 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000497/1.038, allocations: 124.9 kB / 0.7108 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of SimCode: time 6.22e-07/1.038, allocations: 0 / 0.7108 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of Templates: time 0.02707/1.066, allocations: 16.34 MB / 0.7267 GB, free: 4.586 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches