Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001226/0.001226, allocations: 177.5 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009187/0.0009187, allocations: 86.14 kB / 261.7 MB, free: 1.695 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.2297/0.2297, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/1.998e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.964/6.097, allocations: 2.786 GB / 3.252 GB, free: 87.22 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/6.097, allocations: 92.05 kB / 3.253 GB, free: 87.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.122/8.219, allocations: 0.6499 GB / 3.902 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.483e-06/8.219, allocations: 0 / 3.902 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001245/8.219, allocations: 29.03 kB / 3.902 GB, free: 23.36 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.009108/8.228, allocations: 2.383 MB / 3.905 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/8.228, allocations: 14.55 kB / 3.905 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004958/8.233, allocations: 0.5877 MB / 3.905 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/8.236, allocations: 0.8224 MB / 3.906 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/8.236, allocations: 176.8 kB / 3.906 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/8.236, allocations: 56 kB / 3.906 GB, free: 19.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002217/8.238, allocations: 1.16 MB / 3.907 GB, free: 18.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/8.241, allocations: 1.378 MB / 3.909 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/8.241, allocations: 7.938 kB / 3.909 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/8.241, allocations: 4 kB / 3.909 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.288e-05/8.241, allocations: 53.92 kB / 3.909 GB, free: 16.51 MB / 0.5105 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.4289/8.67, allocations: 40.9 MB / 3.949 GB, free: 48.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009696/8.671, allocations: 0.5764 MB / 3.949 GB, free: 48.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004136/8.671, allocations: 331.5 kB / 3.95 GB, free: 48.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04232/8.714, allocations: 25.08 MB / 3.974 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/8.714, allocations: 42.31 kB / 3.974 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001038/8.715, allocations: 101.2 kB / 3.974 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=64): time 2.956e-06/8.715, allocations: 0 / 3.974 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.008649/8.724, allocations: 2.829 MB / 3.977 GB, free: 29.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/8.724, allocations: 111.3 kB / 3.977 GB, free: 29.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007789/8.724, allocations: 0.6485 MB / 3.978 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/8.725, allocations: 25.7 kB / 3.978 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/8.725, allocations: 0.5908 MB / 3.978 GB, free: 29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/8.725, allocations: 256.1 kB / 3.979 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/8.725, allocations: 2.938 kB / 3.979 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001298/8.725, allocations: 397.5 kB / 3.979 GB, free: 28.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/8.726, allocations: 347.9 kB / 3.979 GB, free: 28.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006865/8.726, allocations: 0.8978 MB / 3.98 GB, free: 27.86 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/8.728, allocations: 0.6333 MB / 3.981 GB, free: 27.85 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/8.728, allocations: 6.906 kB / 3.981 GB, free: 27.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002974/8.731, allocations: 1.569 MB / 3.982 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/8.731, allocations: 12.44 kB / 3.982 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/8.731, allocations: 20.12 kB / 3.982 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/8.732, allocations: 469.9 kB / 3.983 GB, free: 27.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/8.733, allocations: 252.5 kB / 3.983 GB, free: 27.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/8.735, allocations: 1.809 MB / 3.985 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/8.736, allocations: 114.3 kB / 3.985 GB, free: 26.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.164e-05/8.736, allocations: 82.92 kB / 3.985 GB, free: 26.65 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 (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.0002189/8.736, allocations: 162.3 kB / 3.985 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/8.736, allocations: 99.69 kB / 3.985 GB, free: 26.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004215/8.74, allocations: 4.066 MB / 3.989 GB, free: 26.13 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-05/8.74, allocations: 51.36 kB / 3.989 GB, free: 26.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/8.74, allocations: 0 / 3.989 GB, free: 26.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/8.74, allocations: 7.484 kB / 3.989 GB, free: 26.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005574/8.746, allocations: 5.559 MB / 3.995 GB, free: 25.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/8.746, allocations: 3.312 kB / 3.995 GB, free: 25.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/8.746, allocations: 144.1 kB / 3.995 GB, free: 25.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/8.748, allocations: 0.7191 MB / 3.996 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/8.748, allocations: 15.84 kB / 3.996 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/8.749, allocations: 1.914 MB / 3.998 GB, free: 24.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/8.749, allocations: 0 / 3.998 GB, free: 24.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/8.753, allocations: 3.668 MB / 4.001 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/8.753, allocations: 357.1 kB / 4.001 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/8.754, allocations: 0 / 4.001 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/8.754, allocations: 71.5 kB / 4.002 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/8.754, allocations: 73.86 kB / 4.002 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-05/8.754, allocations: 36.14 kB / 4.002 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005787/8.755, allocations: 471.8 kB / 4.002 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.022e-06/8.755, allocations: 0 / 4.002 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006422/8.761, allocations: 1.463 MB / 4.003 GB, free: 23.74 MB / 0.5261 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.00895/8.77, allocations: 2.304 MB / 4.006 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002918/8.773, allocations: 1.423 MB / 4.007 GB, free: 23.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/8.773, allocations: 2.562 kB / 4.007 GB, free: 23.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/8.775, allocations: 1.075 MB / 4.008 GB, free: 23.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/8.778, allocations: 403 kB / 4.009 GB, free: 23.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/8.781, allocations: 2.641 MB / 4.011 GB, free: 22.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006101/8.782, allocations: 1.368 MB / 4.012 GB, free: 22.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001298/8.783, allocations: 0.6663 MB / 4.013 GB, free: 22.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/8.783, allocations: 95.91 kB / 4.013 GB, free: 22.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/8.783, allocations: 0 / 4.013 GB, free: 22.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.06186/8.845, allocations: 46.48 MB / 4.059 GB, free: 19.28 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches