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.001635/0.001635, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009973/0.0009973, allocations: 96.44 kB / 281.6 MB, free: 5.332 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.2428/0.2428, allocations: 44.16 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.109e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1775, allocations: 61.91 MB / 0.4947 GB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.138/8.315, allocations: 2.792 GB / 3.286 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/8.315, allocations: 84.14 kB / 3.286 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.426/10.74, allocations: 0.6555 GB / 3.942 GB, free: 38.76 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.542e-06/10.74, allocations: 0 / 3.942 GB, free: 38.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.185e-05/10.74, allocations: 28 kB / 3.942 GB, free: 38.73 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.009054/10.75, allocations: 2.381 MB / 3.944 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/10.75, allocations: 12.03 kB / 3.944 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/10.76, allocations: 0.5803 MB / 3.945 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/10.76, allocations: 0.8298 MB / 3.946 GB, free: 35.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/10.76, allocations: 176.7 kB / 3.946 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/10.76, allocations: 66.19 kB / 3.946 GB, free: 35.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001738/10.76, allocations: 1.156 MB / 3.947 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/10.76, allocations: 1.373 MB / 3.948 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/10.76, allocations: 3.938 kB / 3.948 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/10.76, allocations: 12 kB / 3.948 GB, free: 32.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.481e-05/10.76, allocations: 41.84 kB / 3.948 GB, free: 32.74 MB / 0.5261 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.0654/10.83, allocations: 40.92 MB / 3.988 GB, free: 4.363 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009374/10.83, allocations: 0.5702 MB / 3.989 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/10.83, allocations: 335.7 kB / 3.989 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4318/11.26, allocations: 25.08 MB / 4.014 GB, free: 46.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/11.26, allocations: 43.73 kB / 4.014 GB, free: 46.34 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009295/11.26, allocations: 102.6 kB / 4.014 GB, free: 46.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=64): time 3.878e-06/11.26, allocations: 0 / 4.014 GB, free: 46.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72): time 0.009763/11.27, allocations: 2.816 MB / 4.017 GB, free: 45.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/11.27, allocations: 118.1 kB / 4.017 GB, free: 45.81 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/11.27, allocations: 0.6475 MB / 4.017 GB, free: 45.68 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.229e-05/11.27, allocations: 26.86 kB / 4.017 GB, free: 45.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/11.27, allocations: 0.5889 MB / 4.018 GB, free: 45.37 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/11.27, allocations: 252.4 kB / 4.018 GB, free: 45.24 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/11.27, allocations: 2.844 kB / 4.018 GB, free: 45.24 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001129/11.27, allocations: 397.8 kB / 4.019 GB, free: 44.93 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/11.27, allocations: 351 kB / 4.019 GB, free: 44.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007142/11.27, allocations: 0.8949 MB / 4.02 GB, free: 44.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/11.28, allocations: 0.6343 MB / 4.02 GB, free: 44.22 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/11.28, allocations: 5.719 kB / 4.02 GB, free: 44.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003697/11.28, allocations: 1.563 MB / 4.022 GB, free: 44.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/11.28, allocations: 16.09 kB / 4.022 GB, free: 44.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/11.28, allocations: 19.53 kB / 4.022 GB, free: 44.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/11.28, allocations: 459.7 kB / 4.022 GB, free: 44.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007577/11.28, allocations: 251.3 kB / 4.023 GB, free: 44.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/11.28, allocations: 1.815 MB / 4.024 GB, free: 43.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/11.28, allocations: 114.3 kB / 4.024 GB, free: 43.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/11.29, allocations: 85.2 kB / 4.025 GB, free: 43.03 MB / 0.5417 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 (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],mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase,mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete 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.0002468/11.29, allocations: 160 kB / 4.025 GB, free: 42.92 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/11.29, allocations: 99.42 kB / 4.025 GB, free: 42.88 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005035/11.29, allocations: 4.074 MB / 4.029 GB, free: 42.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-05/11.29, allocations: 57.86 kB / 4.029 GB, free: 42.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/11.29, allocations: 0 / 4.029 GB, free: 42.52 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/11.29, allocations: 6 kB / 4.029 GB, free: 42.52 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006049/11.3, allocations: 5.557 MB / 4.034 GB, free: 41.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/11.3, allocations: 0 / 4.034 GB, free: 41.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/11.3, allocations: 146.8 kB / 4.034 GB, free: 41.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/11.3, allocations: 0.7221 MB / 4.035 GB, free: 41.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/11.3, allocations: 13.95 kB / 4.035 GB, free: 41.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/11.3, allocations: 1.912 MB / 4.037 GB, free: 40.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/11.3, allocations: 6.656 kB / 4.037 GB, free: 40.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003829/11.3, allocations: 3.662 MB / 4.041 GB, free: 40.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/11.3, allocations: 352.3 kB / 4.041 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/11.3, allocations: 3.5 kB / 4.041 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006421/11.3, allocations: 81.47 kB / 4.041 GB, free: 40.26 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.787e-05/11.31, allocations: 66.03 kB / 4.041 GB, free: 40.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/11.31, allocations: 33.84 kB / 4.041 GB, free: 40.26 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005556/11.31, allocations: 471.2 kB / 4.042 GB, free: 40.17 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/11.31, allocations: 3.5 kB / 4.042 GB, free: 40.17 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006183/11.31, allocations: 1.462 MB / 4.043 GB, free: 40.13 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 31 ($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,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.009713/11.32, allocations: 2.302 MB / 4.045 GB, free: 39.92 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0023/11.32, allocations: 1.434 MB / 4.047 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/11.32, allocations: 3.812 kB / 4.047 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/11.33, allocations: 1.076 MB / 4.048 GB, free: 39.87 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/11.33, allocations: 395.2 kB / 4.048 GB, free: 39.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/11.33, allocations: 2.641 MB / 4.051 GB, free: 39.31 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/11.33, allocations: 1.372 MB / 4.052 GB, free: 38.59 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001349/11.33, allocations: 0.6653 MB / 4.053 GB, free: 38.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/11.33, allocations: 90.45 kB / 4.053 GB, free: 38.57 MB / 0.5417 GB Notification: Performance of SimCode: time 7.71e-07/11.33, allocations: 0 / 4.053 GB, free: 38.57 MB / 0.5417 GB Notification: Performance of Templates: time 0.06216/11.4, allocations: 46.43 MB / 4.098 GB, free: 36.14 MB / 0.5417 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/jenkins/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