Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008524/0.000857, allocations: 184.1 kB / 18.09 MB, free: 3.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.3 MB / 242.1 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008306/0.0008304, allocations: 93.7 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3151/0.3151, allocations: 44.15 MB / 388.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003647, allocations: 11.98 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3449, allocations: 61.88 MB / 0.5107 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.378/5.723, allocations: 2.793 GB / 3.303 GB, free: 63.28 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/5.724, allocations: 97.42 kB / 3.303 GB, free: 63.19 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.416/8.14, allocations: 0.6287 GB / 3.932 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.697e-06/8.14, allocations: 0 / 3.932 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001898/8.14, allocations: 36.31 kB / 3.932 GB, free: 28.97 MB / 0.5261 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.01388/8.154, allocations: 2.488 MB / 3.935 GB, free: 27.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.481e-05/8.154, allocations: 15.19 kB / 3.935 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005448/8.16, allocations: 0.5748 MB / 3.935 GB, free: 27.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/8.162, allocations: 0.8486 MB / 3.936 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/8.163, allocations: 214.9 kB / 3.936 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005184/8.163, allocations: 99.39 kB / 3.936 GB, free: 26.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005565/8.169, allocations: 1.867 MB / 3.938 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.886e-05/8.169, allocations: 10.75 kB / 3.938 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003129/8.169, allocations: 47.44 kB / 3.938 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.155e-05/8.169, allocations: 48.39 kB / 3.938 GB, free: 25.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00433/8.174, allocations: 1.664 MB / 3.94 GB, free: 24.3 MB / 0.5261 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.01129/8.185, allocations: 8.594 MB / 3.948 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/8.188, allocations: 1.025 MB / 3.949 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008172/8.189, allocations: 438.2 kB / 3.95 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04233/8.231, allocations: 25.03 MB / 3.974 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.048e-05/8.231, allocations: 47.11 kB / 3.974 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001436/8.233, allocations: 111 kB / 3.974 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 1.02e-05/8.233, allocations: 4 kB / 3.974 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of matching and sorting (n=78): time 0.01361/8.247, allocations: 3.588 MB / 3.978 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/8.247, allocations: 111.5 kB / 3.978 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/8.248, allocations: 0.8448 MB / 3.979 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/8.249, allocations: 37.7 kB / 3.979 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/8.249, allocations: 0.5646 MB / 3.979 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/8.249, allocations: 280.8 kB / 3.98 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/8.249, allocations: 24 kB / 3.98 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002196/8.25, allocations: 406.7 kB / 3.98 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009873/8.251, allocations: 446.3 kB / 3.98 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/8.252, allocations: 1.005 MB / 3.981 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002354/8.254, allocations: 1.521 MB / 3.983 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.276e-05/8.254, allocations: 12 kB / 3.983 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.0038/8.258, allocations: 1.755 MB / 3.985 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/8.258, allocations: 12 kB / 3.985 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/8.258, allocations: 20.91 kB / 3.985 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002925/8.261, allocations: 0.6288 MB / 3.985 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008163/8.262, allocations: 251.6 kB / 3.986 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/8.265, allocations: 1.846 MB / 3.987 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/8.266, allocations: 131.8 kB / 3.987 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/8.266, allocations: 75.98 kB / 3.988 GB, free: 2.66 MB / 0.5573 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.0007825/8.267, allocations: 336.9 kB / 3.988 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/8.267, allocations: 106.7 kB / 3.988 GB, free: 2.215 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4461/8.713, allocations: 4.516 MB / 3.992 GB, free: 68.89 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.617e-05/8.713, allocations: 63.7 kB / 3.992 GB, free: 68.89 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/8.713, allocations: 0 / 3.992 GB, free: 68.89 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/8.714, allocations: 6.703 kB / 3.992 GB, free: 68.89 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008492/8.722, allocations: 6.312 MB / 3.999 GB, free: 68.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/8.722, allocations: 0 / 3.999 GB, free: 68.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/8.723, allocations: 165.2 kB / 3.999 GB, free: 68.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001707/8.724, allocations: 0.6842 MB / 3.999 GB, free: 68.37 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-05/8.724, allocations: 29.25 kB / 3.999 GB, free: 68.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/8.726, allocations: 1.798 MB / 4.001 GB, free: 67.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/8.726, allocations: 1.328 kB / 4.001 GB, free: 67.33 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005645/8.732, allocations: 4.002 MB / 4.005 GB, free: 67.04 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/8.733, allocations: 424.6 kB / 4.006 GB, free: 66.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/8.733, allocations: 23.11 kB / 4.006 GB, free: 66.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000767/8.734, allocations: 89.48 kB / 4.006 GB, free: 66.89 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/8.734, allocations: 75.38 kB / 4.006 GB, free: 66.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.214e-05/8.734, allocations: 34.98 kB / 4.006 GB, free: 66.89 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001072/8.735, allocations: 0.6572 MB / 4.006 GB, free: 66.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.11e-07/8.735, allocations: 0 / 4.006 GB, free: 66.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009338/8.745, allocations: 1.538 MB / 4.008 GB, free: 66.77 MB / 0.5573 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.01364/8.758, allocations: 2.162 MB / 4.01 GB, free: 66.64 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003472/8.762, allocations: 1.694 MB / 4.012 GB, free: 66.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/8.762, allocations: 0 / 4.012 GB, free: 66.59 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/8.764, allocations: 1.225 MB / 4.013 GB, free: 66.58 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/8.767, allocations: 0.5118 MB / 4.013 GB, free: 66.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006432/8.774, allocations: 4.451 MB / 4.018 GB, free: 64.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/8.775, allocations: 1.385 MB / 4.019 GB, free: 64.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001952/8.777, allocations: 0.5854 MB / 4.02 GB, free: 64.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/8.777, allocations: 99.78 kB / 4.02 GB, free: 64.07 MB / 0.5573 GB Notification: Performance of SimCode: time 9.82e-07/8.777, allocations: 0 / 4.02 GB, free: 64.07 MB / 0.5573 GB Notification: Performance of Templates: time 0.09425/8.871, allocations: 58.65 MB / 4.077 GB, free: 62.1 MB / 0.5573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumesPressureStates/TestMixingVolumesPressureStates.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches