Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000886/0.0008858, allocations: 181.3 kB / 17.41 MB, free: 4.41 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.249/1.249, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.000761/0.000761, allocations: 86.41 kB / 271.9 MB, free: 8.277 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.296/0.296, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003582, allocations: 12 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09757/0.09795, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.882/4.98, allocations: 2.788 GB / 3.268 GB, free: 86.73 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/4.98, allocations: 91.22 kB / 3.268 GB, free: 86.68 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.033/7.014, allocations: 0.623 GB / 3.891 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.024e-06/7.014, allocations: 0 / 3.891 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001281/7.014, allocations: 24.72 kB / 3.891 GB, free: 30.68 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.01017/7.024, allocations: 2.488 MB / 3.893 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/7.024, allocations: 11.41 kB / 3.893 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005109/7.029, allocations: 0.5731 MB / 3.894 GB, free: 29.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/7.031, allocations: 0.8523 MB / 3.894 GB, free: 28.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/7.032, allocations: 215.2 kB / 3.895 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004521/7.032, allocations: 99.62 kB / 3.895 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00506/7.037, allocations: 1.875 MB / 3.897 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.556e-05/7.037, allocations: 7.875 kB / 3.897 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002703/7.038, allocations: 46.56 kB / 3.897 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.677e-05/7.038, allocations: 55.89 kB / 3.897 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004345/7.042, allocations: 1.667 MB / 3.898 GB, free: 27.09 MB / 0.5105 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.01054/7.053, allocations: 8.601 MB / 3.907 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003011/7.056, allocations: 1.022 MB / 3.908 GB, free: 19.94 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008896/7.057, allocations: 437.7 kB / 3.908 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03771/7.094, allocations: 25.03 MB / 3.933 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.773e-05/7.094, allocations: 39.12 kB / 3.933 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001097/7.096, allocations: 122.9 kB / 3.933 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 5.5e-06/7.096, allocations: 0 / 3.933 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.01227/7.108, allocations: 3.589 MB / 3.936 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/7.108, allocations: 115.5 kB / 3.936 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/7.11, allocations: 0.8487 MB / 3.937 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/7.11, allocations: 41.7 kB / 3.937 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/7.11, allocations: 0.552 MB / 3.938 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/7.111, allocations: 283.7 kB / 3.938 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/7.111, allocations: 28 kB / 3.938 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000224/7.111, allocations: 406.7 kB / 3.938 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/7.112, allocations: 446.3 kB / 3.939 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/7.113, allocations: 1.005 MB / 3.94 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/7.116, allocations: 1.521 MB / 3.941 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-05/7.116, allocations: 4 kB / 3.941 GB, free: 500 kB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.3347/7.451, allocations: 1.76 MB / 3.943 GB, free: 54.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/7.451, allocations: 14.81 kB / 3.943 GB, free: 54.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/7.451, allocations: 18.62 kB / 3.943 GB, free: 54.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002966/7.454, allocations: 0.6163 MB / 3.944 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/7.455, allocations: 252.5 kB / 3.944 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/7.457, allocations: 1.849 MB / 3.946 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/7.459, allocations: 130.6 kB / 3.946 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/7.459, allocations: 77.77 kB / 3.946 GB, free: 53.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,3 28} Notification: Performance of prepare postOptimizeDAE: time 0.0006512/7.459, allocations: 341.7 kB / 3.946 GB, free: 53.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/7.46, allocations: 103.2 kB / 3.946 GB, free: 53.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005782/7.465, allocations: 4.519 MB / 3.951 GB, free: 52.94 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.266e-05/7.465, allocations: 58.98 kB / 3.951 GB, free: 52.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/7.465, allocations: 0 / 3.951 GB, free: 52.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/7.465, allocations: 5.953 kB / 3.951 GB, free: 52.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007895/7.473, allocations: 6.308 MB / 3.957 GB, free: 52.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/7.473, allocations: 3.625 kB / 3.957 GB, free: 52.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/7.474, allocations: 174.5 kB / 3.957 GB, free: 52.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/7.476, allocations: 0.6833 MB / 3.958 GB, free: 52.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/7.476, allocations: 26.86 kB / 3.958 GB, free: 52.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/7.477, allocations: 1.792 MB / 3.96 GB, free: 51.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/7.477, allocations: 0 / 3.96 GB, free: 51.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00496/7.482, allocations: 4.003 MB / 3.963 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/7.483, allocations: 426.1 kB / 3.964 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003689/7.484, allocations: 17.16 kB / 3.964 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/7.485, allocations: 90.09 kB / 3.964 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/7.485, allocations: 80.83 kB / 3.964 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.583e-05/7.485, allocations: 36.66 kB / 3.964 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001293/7.486, allocations: 0.6487 MB / 3.965 GB, free: 50.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/7.486, allocations: 0 / 3.965 GB, free: 50.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008689/7.495, allocations: 1.539 MB / 3.966 GB, free: 50.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01145/7.507, allocations: 2.175 MB / 3.968 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003712/7.51, allocations: 1.689 MB / 3.97 GB, free: 50.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/7.51, allocations: 2.438 kB / 3.97 GB, free: 50.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001952/7.512, allocations: 1.219 MB / 3.971 GB, free: 50.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/7.516, allocations: 0.507 MB / 3.972 GB, free: 50.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006933/7.523, allocations: 4.502 MB / 3.976 GB, free: 48.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/7.524, allocations: 1.385 MB / 3.977 GB, free: 47.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/7.524, allocations: 102.2 kB / 3.978 GB, free: 47.88 MB / 0.5261 GB Notification: Performance of SimCode: time 2.044e-06/7.524, allocations: 0 / 3.978 GB, free: 47.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.08564/7.61, allocations: 53.51 MB / 4.03 GB, free: 44.92 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumesPressureStates/TestMixingVolumesPressureStates.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches