Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.IdealGases.Nitrogen,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.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_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 185.5 kB / 16.4 MB, free: 5.746 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.922/1.922, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001114/0.001113, allocations: 94.12 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5031/0.5031, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005054/0.0005054, allocations: 16 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1342, allocations: 58.85 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.725/1.859, allocations: 0.5084 GB / 0.9872 GB, free: 57.87 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/1.859, allocations: 95.12 kB / 0.9873 GB, free: 57.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.112/2.971, allocations: 219.4 MB / 1.202 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.435e-06/2.971, allocations: 0 / 1.202 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.672e-05/2.972, allocations: 24.12 kB / 1.202 GB, free: 40.16 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.00413/2.976, allocations: 1.178 MB / 1.203 GB, free: 38.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/2.976, allocations: 12.03 kB / 1.203 GB, free: 38.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/2.977, allocations: 135 kB / 1.203 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/2.979, allocations: 0.5366 MB / 1.203 GB, free: 38.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/2.979, allocations: 104.4 kB / 1.204 GB, free: 38.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/2.979, allocations: 47.98 kB / 1.204 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/2.981, allocations: 0.8191 MB / 1.204 GB, free: 37.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/2.981, allocations: 3.906 kB / 1.204 GB, free: 37.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/2.981, allocations: 20 kB / 1.204 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.643e-05/2.981, allocations: 40.92 kB / 1.204 GB, free: 37.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/2.983, allocations: 0.6166 MB / 1.205 GB, free: 36.46 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.0066/2.99, allocations: 3.944 MB / 1.209 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008186/2.991, allocations: 332.6 kB / 1.209 GB, free: 31.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/2.991, allocations: 24.92 kB / 1.209 GB, free: 31.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/2.991, allocations: 42.78 kB / 1.209 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 3.015e-06/2.991, allocations: 0 / 1.209 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.009277/3, allocations: 1.655 MB / 1.211 GB, free: 30.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/3, allocations: 132.5 kB / 1.211 GB, free: 29.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009748/3.001, allocations: 0.5344 MB / 1.212 GB, free: 29.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.492e-05/3.001, allocations: 37.64 kB / 1.212 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/3.002, allocations: 397.3 kB / 1.212 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/3.002, allocations: 142 kB / 1.212 GB, free: 28.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/3.002, allocations: 12 kB / 1.212 GB, free: 28.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/3.002, allocations: 346.8 kB / 1.212 GB, free: 28.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/3.002, allocations: 193.9 kB / 1.213 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006937/3.003, allocations: 0.5047 MB / 1.213 GB, free: 27.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/3.004, allocations: 290.5 kB / 1.213 GB, free: 27.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/3.004, allocations: 4 kB / 1.213 GB, free: 27.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002108/3.006, allocations: 0.8381 MB / 1.214 GB, free: 26.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/3.006, allocations: 15.95 kB / 1.214 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/3.006, allocations: 8 kB / 1.214 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/3.008, allocations: 321.8 kB / 1.215 GB, free: 26.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007389/3.009, allocations: 119.8 kB / 1.215 GB, free: 26.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/3.011, allocations: 0.9265 MB / 1.216 GB, free: 25.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/3.012, allocations: 51.97 kB / 1.216 GB, free: 25.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/3.012, allocations: 68 kB / 1.216 GB, free: 25 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.0005599/3.013, allocations: 241.5 kB / 1.216 GB, free: 24.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/3.013, allocations: 75.16 kB / 1.216 GB, free: 24.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/3.015, allocations: 0.6705 MB / 1.217 GB, free: 23.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/3.015, allocations: 11.89 kB / 1.217 GB, free: 23.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/3.015, allocations: 0 / 1.217 GB, free: 23.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/3.015, allocations: 3.984 kB / 1.217 GB, free: 23.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/3.018, allocations: 1.258 MB / 1.218 GB, free: 22.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/3.018, allocations: 0 / 1.218 GB, free: 22.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/3.02, allocations: 211.8 kB / 1.218 GB, free: 22.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/3.02, allocations: 24.97 kB / 1.218 GB, free: 22.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/3.02, allocations: 19.98 kB / 1.218 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/3.022, allocations: 2.699 MB / 1.221 GB, free: 19.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/3.022, allocations: 4.062 kB / 1.221 GB, free: 19.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/3.024, allocations: 0.8411 MB / 1.222 GB, free: 18.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/3.025, allocations: 176.3 kB / 1.222 GB, free: 18.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/3.025, allocations: 8 kB / 1.222 GB, free: 18.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007688/3.026, allocations: 39.81 kB / 1.222 GB, free: 18.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/3.026, allocations: 40.02 kB / 1.222 GB, free: 18.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.685e-05/3.026, allocations: 51.92 kB / 1.222 GB, free: 18.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007613/3.027, allocations: 423 kB / 1.222 GB, free: 17.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.01e-07/3.027, allocations: 0 / 1.222 GB, free: 17.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002057/3.029, allocations: 383.8 kB / 1.223 GB, free: 17.39 MB / 0.4948 GB 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.002508/3.031, allocations: 1.025 MB / 1.224 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001876/3.033, allocations: 0.5352 MB / 1.224 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/3.033, allocations: 0 / 1.224 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/3.035, allocations: 395.2 kB / 1.225 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/3.038, allocations: 334.5 kB / 1.225 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/3.042, allocations: 1.579 MB / 1.226 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/3.042, allocations: 0.9377 MB / 1.227 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/3.043, allocations: 115.4 kB / 1.227 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.463e-06/3.043, allocations: 0 / 1.227 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.4006/3.443, allocations: 20.74 MB / 1.248 GB, free: 81.54 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches