Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001158/0.001158, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.3 MB / 213.7 MB, free: 1.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008775/0.000878, allocations: 88.05 kB / 261.8 MB, free: 1.672 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.2331/0.2331, allocations: 43.48 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.67e-05/1.672e-05, allocations: 7.984 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.575/1.701, allocations: 0.5077 GB / 0.9736 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/1.702, allocations: 100.2 kB / 0.9737 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8315/2.533, allocations: 216.3 MB / 1.185 GB, free: 94.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.944e-06/2.533, allocations: 0 / 1.185 GB, free: 94.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.35e-05/2.534, allocations: 16 kB / 1.185 GB, free: 94.32 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.004181/2.538, allocations: 1.101 MB / 1.186 GB, free: 93.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/2.538, allocations: 8.031 kB / 1.186 GB, free: 93.17 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/2.539, allocations: 135 kB / 1.186 GB, free: 93.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/2.54, allocations: 0.5387 MB / 1.187 GB, free: 92.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/2.541, allocations: 84.7 kB / 1.187 GB, free: 92.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/2.541, allocations: 28 kB / 1.187 GB, free: 92.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001013/2.542, allocations: 0.5219 MB / 1.187 GB, free: 91.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/2.543, allocations: 0.7409 MB / 1.188 GB, free: 91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/2.543, allocations: 0 / 1.188 GB, free: 91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-05/2.543, allocations: 4 kB / 1.188 GB, free: 91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.246e-05/2.543, allocations: 37.23 kB / 1.188 GB, free: 90.96 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.004725/2.548, allocations: 3.882 MB / 1.192 GB, free: 86.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/2.549, allocations: 259.2 kB / 1.192 GB, free: 86.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/2.549, allocations: 129.3 kB / 1.192 GB, free: 86.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/2.549, allocations: 25 kB / 1.192 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/2.549, allocations: 42.73 kB / 1.192 GB, free: 86.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 4.879e-06/2.549, allocations: 0 / 1.192 GB, free: 86.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.01027/2.56, allocations: 1.46 MB / 1.194 GB, free: 84.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/2.56, allocations: 132.5 kB / 1.194 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008731/2.561, allocations: 458 kB / 1.194 GB, free: 84.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/2.561, allocations: 29.7 kB / 1.194 GB, free: 84.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/2.561, allocations: 394.8 kB / 1.195 GB, free: 83.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/2.561, allocations: 118.4 kB / 1.195 GB, free: 83.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/2.561, allocations: 0 / 1.195 GB, free: 83.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001735/2.561, allocations: 370.7 kB / 1.195 GB, free: 83.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/2.562, allocations: 185.5 kB / 1.195 GB, free: 83.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000646/2.563, allocations: 489.1 kB / 1.196 GB, free: 82.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/2.564, allocations: 315.9 kB / 1.196 GB, free: 82.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/2.564, allocations: 4 kB / 1.196 GB, free: 82.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002358/2.566, allocations: 0.8218 MB / 1.197 GB, free: 81.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/2.566, allocations: 8 kB / 1.197 GB, free: 81.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/2.566, allocations: 12 kB / 1.197 GB, free: 81.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/2.568, allocations: 277.5 kB / 1.197 GB, free: 81.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/2.568, allocations: 127.8 kB / 1.197 GB, free: 80.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/2.57, allocations: 0.9568 MB / 1.198 GB, free: 79.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/2.571, allocations: 36.03 kB / 1.198 GB, free: 79.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/2.571, allocations: 63.98 kB / 1.198 GB, free: 79.89 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 () * 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.0003295/2.572, allocations: 128.7 kB / 1.198 GB, free: 79.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/2.572, allocations: 59.34 kB / 1.199 GB, free: 79.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/2.574, allocations: 0.5164 MB / 1.199 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/2.574, allocations: 3.984 kB / 1.199 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/2.574, allocations: 4 kB / 1.199 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/2.574, allocations: 3.984 kB / 1.199 GB, free: 79.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/2.576, allocations: 0.9842 MB / 1.2 GB, free: 78.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/2.576, allocations: 0 / 1.2 GB, free: 78.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/2.577, allocations: 195.8 kB / 1.2 GB, free: 77.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/2.577, allocations: 24.84 kB / 1.2 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/2.577, allocations: 16.02 kB / 1.2 GB, free: 77.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/2.579, allocations: 2.577 MB / 1.203 GB, free: 75.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/2.579, allocations: 0 / 1.203 GB, free: 75.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/2.58, allocations: 0.6932 MB / 1.203 GB, free: 74.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/2.581, allocations: 172.3 kB / 1.204 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.888e-05/2.581, allocations: 4 kB / 1.204 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/2.581, allocations: 23.98 kB / 1.204 GB, free: 74.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/2.581, allocations: 31.95 kB / 1.204 GB, free: 74.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/2.581, allocations: 35.98 kB / 1.204 GB, free: 74.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004049/2.582, allocations: 342.9 kB / 1.204 GB, free: 73.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.582, allocations: 3.938 kB / 1.204 GB, free: 73.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001599/2.583, allocations: 343.8 kB / 1.204 GB, free: 73.42 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.002437/2.586, allocations: 1.166 MB / 1.205 GB, free: 72.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001243/2.587, allocations: 488.5 kB / 1.206 GB, free: 71.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/2.587, allocations: 4.125 kB / 1.206 GB, free: 71.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007964/2.588, allocations: 349.7 kB / 1.206 GB, free: 71.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/2.589, allocations: 246.8 kB / 1.207 GB, free: 71.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/2.591, allocations: 0.8742 MB / 1.207 GB, free: 70.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/2.591, allocations: 0.9412 MB / 1.208 GB, free: 69.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009019/2.592, allocations: 237.2 kB / 1.209 GB, free: 69.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/2.592, allocations: 95.41 kB / 1.209 GB, free: 69.11 MB / 0.4948 GB Notification: Performance of SimCode: time 3.11e-07/2.592, allocations: 0 / 1.209 GB, free: 69.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.02746/2.62, allocations: 18.34 MB / 1.227 GB, free: 50.83 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches