Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008308/0.0008309, allocations: 96.27 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008459/0.000846, allocations: 203.7 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.19 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002641, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1101, allocations: 63.55 MB / 483.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.4244/0.5346, allocations: 198.9 MB / 0.6666 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.5514, allocations: 11.62 MB / 0.6779 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.5528, allocations: 43.62 kB / 0.678 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.5542, allocations: 401.7 kB / 0.6784 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006778/0.561, allocations: 2.314 MB / 0.6806 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007643/0.5687, allocations: 2.826 MB / 0.6834 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005189/0.5739, allocations: 4.654 MB / 0.6879 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.5753, allocations: 0.6651 MB / 0.6886 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.5779, allocations: 1.093 MB / 0.6897 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002381/0.5803, allocations: 1.312 MB / 0.6909 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003802/0.5807, allocations: 59.94 kB / 0.691 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005429/0.5861, allocations: 2.698 MB / 0.6936 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006939/0.5869, allocations: 374.8 kB / 0.694 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.5881, allocations: 0.6198 MB / 0.6946 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004045/0.5921, allocations: 2.421 MB / 0.697 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5921, allocations: 4 kB / 0.697 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5922, allocations: 0 / 0.697 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.726e-05/0.5922, allocations: 0 / 0.697 GB, free: 14.46 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004087/0.5963, allocations: 1.632 MB / 0.6986 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.5964, allocations: 11.97 kB / 0.6986 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.5978, allocations: 226.4 kB / 0.6988 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.5993, allocations: 0.7811 MB / 0.6995 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.922e-05/0.5994, allocations: 57.97 kB / 0.6996 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.5997, allocations: 75.92 kB / 0.6997 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/0.6019, allocations: 1.236 MB / 0.7009 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.602, allocations: 4 kB / 0.7009 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.6021, allocations: 43.41 kB / 0.7009 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.6022, allocations: 89.88 kB / 0.701 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.6046, allocations: 1.214 MB / 0.7022 GB, free: 8.945 MB / 0.5294 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.008039/0.6126, allocations: 4.859 MB / 0.7069 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.614, allocations: 0.769 MB / 0.7077 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/0.6147, allocations: 386.4 kB / 0.7081 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003024/0.615, allocations: 356.9 kB / 0.7084 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.6151, allocations: 43.12 kB / 0.7084 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.545e-06/0.6151, allocations: 0 / 0.7084 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.2285/0.8436, allocations: 2.831 MB / 0.7112 GB, free: 197.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.8437, allocations: 219.1 kB / 0.7114 GB, free: 197 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.8456, allocations: 0.9388 MB / 0.7123 GB, free: 196.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002288/0.8458, allocations: 42.02 kB / 0.7124 GB, free: 196.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/0.8463, allocations: 483.6 kB / 0.7128 GB, free: 196.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.8467, allocations: 263.2 kB / 0.7131 GB, free: 196.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.8469, allocations: 87.09 kB / 0.7132 GB, free: 196.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.847, allocations: 342 kB / 0.7135 GB, free: 196.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009252/0.848, allocations: 438.3 kB / 0.7139 GB, free: 196.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009637/0.8489, allocations: 0.6903 MB / 0.7146 GB, free: 195.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.8506, allocations: 1.094 MB / 0.7157 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.8506, allocations: 4.938 kB / 0.7157 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002879/0.8535, allocations: 1.496 MB / 0.7171 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.8536, allocations: 281.3 kB / 0.7174 GB, free: 194.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.8537, allocations: 5.469 kB / 0.7174 GB, free: 194.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003602/0.8573, allocations: 0.7206 MB / 0.7181 GB, free: 194.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/0.858, allocations: 184.9 kB / 0.7183 GB, free: 194.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.8595, allocations: 1.291 MB / 0.7195 GB, free: 193.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.8606, allocations: 70.08 kB / 0.7196 GB, free: 193.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.8607, allocations: 98.73 kB / 0.7197 GB, free: 193.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.8607, allocations: 3.344 kB / 0.7197 GB, free: 193.3 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002251/0.863, allocations: 1.219 MB / 0.7209 GB, free: 192.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.863, allocations: 10.31 kB / 0.7209 GB, free: 192.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.8646, allocations: 370.7 kB / 0.7213 GB, free: 192.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.8654, allocations: 208.6 kB / 0.7215 GB, free: 192.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.8666, allocations: 0.9727 MB / 0.7224 GB, free: 192.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009627/0.8675, allocations: 71.56 kB / 0.7225 GB, free: 192 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/0.8677, allocations: 95.53 kB / 0.7226 GB, free: 192 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006465/0.8684, allocations: 370.7 kB / 0.7229 GB, free: 191.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/0.8687, allocations: 116.7 kB / 0.723 GB, free: 191.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004166/0.8729, allocations: 1.92 MB / 0.7249 GB, free: 191.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.8729, allocations: 6.719 kB / 0.7249 GB, free: 191.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.8729, allocations: 0.7031 kB / 0.7249 GB, free: 191.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.8729, allocations: 4.266 kB / 0.7249 GB, free: 191.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004403/0.8774, allocations: 2.528 MB / 0.7274 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.8774, allocations: 2.969 kB / 0.7274 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008058/0.8782, allocations: 182.6 kB / 0.7276 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.8783, allocations: 26.34 kB / 0.7276 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.8784, allocations: 38.91 kB / 0.7276 GB, free: 189.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007977/0.8792, allocations: 1.289 MB / 0.7289 GB, free: 188.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.8793, allocations: 7.375 kB / 0.7289 GB, free: 188.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/0.8825, allocations: 1.672 MB / 0.7305 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.8829, allocations: 202.9 kB / 0.7307 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/0.8832, allocations: 16.05 kB / 0.7307 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008788/0.8841, allocations: 53.56 kB / 0.7308 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.8843, allocations: 75.33 kB / 0.7308 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/0.8845, allocations: 74.94 kB / 0.7309 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001018/0.8855, allocations: 0.6652 MB / 0.7316 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8855, allocations: 1.641 kB / 0.7316 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003189/0.8887, allocations: 1.016 MB / 0.7326 GB, free: 187 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (junction.medium.p,junction.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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002473/0.8912, allocations: 0.8459 MB / 0.7334 GB, free: 186.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002919/0.8941, allocations: 1.668 MB / 0.735 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.8941, allocations: 1.625 kB / 0.735 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008286/0.895, allocations: 0.579 MB / 0.7356 GB, free: 186 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/0.8981, allocations: 0.6062 MB / 0.7362 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.9013, allocations: 2.541 MB / 0.7387 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.9018, allocations: 1.081 MB / 0.7397 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007833/0.9026, allocations: 238.1 kB / 0.7399 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.9026, allocations: 4 kB / 0.7399 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.03387/0.9364, allocations: 29.37 MB / 0.7686 GB, free: 154.8 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionVolume/TestJunctionVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches