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.002075/0.002075, allocations: 184.6 kB / 16.41 MB, free: 5.727 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.929/1.929, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001135/0.001135, allocations: 80.48 kB / 270.9 MB, free: 8.371 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.5016/0.5016, allocations: 43.56 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004785, allocations: 12 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1221, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.369/8.492, allocations: 2.787 GB / 3.266 GB, free: 25.24 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/8.492, allocations: 90.14 kB / 3.266 GB, free: 25.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.691/12.18, allocations: 0.6577 GB / 3.924 GB, free: 36.44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.733e-06/12.18, allocations: 0 / 3.924 GB, free: 36.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.341e-05/12.18, allocations: 32.11 kB / 3.924 GB, free: 36.44 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.01123/12.19, allocations: 2.492 MB / 3.926 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/12.19, allocations: 9.438 kB / 3.926 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007778/12.2, allocations: 0.5768 MB / 3.927 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/12.2, allocations: 0.8325 MB / 3.928 GB, free: 35.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/12.21, allocations: 209.1 kB / 3.928 GB, free: 34.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/12.21, allocations: 105.2 kB / 3.928 GB, free: 34.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006415/12.21, allocations: 1.864 MB / 3.93 GB, free: 34.51 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.866e-05/12.21, allocations: 5.969 kB / 3.93 GB, free: 34.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/12.21, allocations: 45.75 kB / 3.93 GB, free: 34.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-05/12.21, allocations: 44.94 kB / 3.93 GB, free: 34.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006515/12.22, allocations: 1.67 MB / 3.931 GB, free: 34.5 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.01461/12.23, allocations: 8.599 MB / 3.94 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004885/12.24, allocations: 1.012 MB / 3.941 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06947/12.31, allocations: 25.03 MB / 3.965 GB, free: 26 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.146e-05/12.31, allocations: 47.59 kB / 3.965 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001356/12.31, allocations: 121.6 kB / 3.965 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 5.5e-06/12.31, allocations: 6.25 kB / 3.965 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.01633/12.33, allocations: 3.568 MB / 3.969 GB, free: 25.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/12.33, allocations: 114.2 kB / 3.969 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/12.33, allocations: 0.7536 MB / 3.97 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001625/12.33, allocations: 37.11 kB / 3.97 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/12.33, allocations: 0.5825 MB / 3.97 GB, free: 24.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/12.33, allocations: 278.8 kB / 3.971 GB, free: 24.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/12.33, allocations: 30.34 kB / 3.971 GB, free: 24.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001597/12.33, allocations: 360.6 kB / 3.971 GB, free: 24.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/12.33, allocations: 446.9 kB / 3.971 GB, free: 24.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/12.33, allocations: 1.001 MB / 3.972 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/12.33, allocations: 0.586 MB / 3.973 GB, free: 23.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/12.33, allocations: 6.781 kB / 3.973 GB, free: 23.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.005636/12.34, allocations: 1.713 MB / 3.975 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/12.34, allocations: 11.56 kB / 3.975 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/12.34, allocations: 19.5 kB / 3.975 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00464/12.34, allocations: 0.622 MB / 3.975 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/12.35, allocations: 255 kB / 3.976 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00353/12.35, allocations: 1.846 MB / 3.977 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/12.35, allocations: 138.8 kB / 3.978 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/12.35, allocations: 74.31 kB / 3.978 GB, free: 22.27 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.0008929/12.35, allocations: 336.2 kB / 3.978 GB, free: 22.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/12.35, allocations: 105.4 kB / 3.978 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008088/12.36, allocations: 4.528 MB / 3.982 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.265e-05/12.36, allocations: 56.94 kB / 3.982 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/12.36, allocations: 3.719 kB / 3.982 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/12.36, allocations: 8.469 kB / 3.982 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/12.37, allocations: 6.313 MB / 3.989 GB, free: 21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/12.37, allocations: 0 / 3.989 GB, free: 21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/12.37, allocations: 172.4 kB / 3.989 GB, free: 21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002847/12.38, allocations: 0.6829 MB / 3.989 GB, free: 20.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/12.38, allocations: 22.06 kB / 3.99 GB, free: 20.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/12.38, allocations: 1.8 MB / 3.991 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/12.38, allocations: 0 / 3.991 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007456/12.39, allocations: 4.004 MB / 3.995 GB, free: 19.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/12.39, allocations: 419.7 kB / 3.996 GB, free: 19.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/12.39, allocations: 31.36 kB / 3.996 GB, free: 19.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/12.39, allocations: 83.97 kB / 3.996 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/12.39, allocations: 75.62 kB / 3.996 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.596e-05/12.39, allocations: 38.61 kB / 3.996 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001278/12.39, allocations: 0.6482 MB / 3.996 GB, free: 19.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.333e-06/12.39, allocations: 0 / 3.996 GB, free: 19.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007716/12.4, allocations: 1.541 MB / 3.998 GB, free: 18.92 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.01259/12.41, allocations: 2.166 MB / 4 GB, free: 18.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004571/12.42, allocations: 1.692 MB / 4.002 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/12.42, allocations: 5.312 kB / 4.002 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002445/12.42, allocations: 1.219 MB / 4.003 GB, free: 18.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004396/12.42, allocations: 0.4954 MB / 4.003 GB, free: 18.44 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007862/12.43, allocations: 4.488 MB / 4.008 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/12.43, allocations: 1.416 MB / 4.009 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/12.43, allocations: 107 kB / 4.009 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.143e-06/12.43, allocations: 3.938 kB / 4.009 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.1021/12.53, allocations: 55.55 MB / 4.063 GB, free: 7.234 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