Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009181/0.0009182, allocations: 103.7 kB / 286.7 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 45.15 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.899e-05, allocations: 0 / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.735/5.852, allocations: 2.793 GB / 3.297 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/5.853, allocations: 86.39 kB / 3.297 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.122/7.975, allocations: 0.6557 GB / 3.953 GB, free: 50.88 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.873e-06/7.975, allocations: 0 / 3.953 GB, free: 50.88 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001195/7.975, allocations: 32.06 kB / 3.953 GB, free: 50.87 MB / 0.5417 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.009478/7.985, allocations: 2.39 MB / 3.955 GB, free: 49.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/7.985, allocations: 10.88 kB / 3.955 GB, free: 49.61 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004613/7.989, allocations: 0.5768 MB / 3.956 GB, free: 49.51 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/7.991, allocations: 0.8358 MB / 3.957 GB, free: 49.03 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/7.991, allocations: 175.3 kB / 3.957 GB, free: 48.89 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/7.992, allocations: 56.69 kB / 3.957 GB, free: 48.89 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001714/7.993, allocations: 1.159 MB / 3.958 GB, free: 48.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/7.995, allocations: 1.381 MB / 3.959 GB, free: 47.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/7.995, allocations: 7.625 kB / 3.959 GB, free: 47.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/7.995, allocations: 7.469 kB / 3.959 GB, free: 47.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-05/7.995, allocations: 44.02 kB / 3.959 GB, free: 47.72 MB / 0.5417 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.06552/8.061, allocations: 44.62 MB / 4.003 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/8.062, allocations: 0.5796 MB / 4.003 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/8.062, allocations: 328.4 kB / 4.004 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04068/8.103, allocations: 26.94 MB / 4.03 GB, free: 19.88 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.102e-05/8.103, allocations: 43.12 kB / 4.03 GB, free: 19.82 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009235/8.104, allocations: 104.1 kB / 4.03 GB, free: 19.74 MB / 0.573 GB Notification: Performance of pre-optimization done (n=64): time 3.246e-06/8.104, allocations: 0 / 4.03 GB, free: 19.74 MB / 0.573 GB Notification: Performance of matching and sorting (n=72): time 0.008678/8.112, allocations: 2.828 MB / 4.033 GB, free: 17.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/8.112, allocations: 111.6 kB / 4.033 GB, free: 17.17 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007587/8.113, allocations: 0.6455 MB / 4.034 GB, free: 16.57 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/8.113, allocations: 29.7 kB / 4.034 GB, free: 16.54 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/8.114, allocations: 0.5869 MB / 4.034 GB, free: 16 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/8.114, allocations: 252.5 kB / 4.035 GB, free: 15.77 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/8.114, allocations: 4 kB / 4.035 GB, free: 15.77 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001689/8.114, allocations: 403.8 kB / 4.035 GB, free: 15.39 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/8.114, allocations: 346.2 kB / 4.035 GB, free: 15.08 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/8.115, allocations: 0.8957 MB / 4.036 GB, free: 13.95 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/8.117, allocations: 0.6316 MB / 4.037 GB, free: 13.42 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/8.117, allocations: 8 kB / 4.037 GB, free: 13.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003218/8.12, allocations: 1.564 MB / 4.038 GB, free: 12.01 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/8.12, allocations: 12 kB / 4.038 GB, free: 12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/8.12, allocations: 20 kB / 4.038 GB, free: 11.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/8.121, allocations: 460 kB / 4.039 GB, free: 11.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/8.122, allocations: 257.7 kB / 4.039 GB, free: 11.38 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/8.124, allocations: 1.806 MB / 4.041 GB, free: 9.613 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/8.125, allocations: 120.8 kB / 4.041 GB, free: 9.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/8.125, allocations: 83.5 kB / 4.041 GB, free: 9.445 MB / 0.573 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.0002398/8.126, allocations: 162.7 kB / 4.041 GB, free: 9.277 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/8.126, allocations: 90.88 kB / 4.041 GB, free: 9.188 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004915/8.131, allocations: 4.073 MB / 4.045 GB, free: 5.379 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.595e-05/8.131, allocations: 55.91 kB / 4.045 GB, free: 5.324 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/8.131, allocations: 0 / 4.045 GB, free: 5.324 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/8.131, allocations: 7.922 kB / 4.045 GB, free: 5.316 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3653/8.496, allocations: 5.541 MB / 4.051 GB, free: 83.14 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/8.496, allocations: 3.047 kB / 4.051 GB, free: 83.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006843/8.497, allocations: 148.3 kB / 4.051 GB, free: 83.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/8.498, allocations: 0.7229 MB / 4.051 GB, free: 83.11 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/8.498, allocations: 14.19 kB / 4.051 GB, free: 83.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/8.5, allocations: 1.913 MB / 4.053 GB, free: 82.08 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/8.5, allocations: 0 / 4.053 GB, free: 82.08 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004055/8.504, allocations: 3.67 MB / 4.057 GB, free: 81.75 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/8.504, allocations: 355.4 kB / 4.057 GB, free: 81.64 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/8.505, allocations: 3.375 kB / 4.057 GB, free: 81.64 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/8.505, allocations: 78.7 kB / 4.057 GB, free: 81.64 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/8.505, allocations: 68.5 kB / 4.057 GB, free: 81.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/8.505, allocations: 31.8 kB / 4.057 GB, free: 81.64 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005572/8.506, allocations: 469.3 kB / 4.058 GB, free: 81.55 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.01e-07/8.506, allocations: 2.25 kB / 4.058 GB, free: 81.55 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006408/8.512, allocations: 1.479 MB / 4.059 GB, free: 81.55 MB / 0.573 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.007742/8.52, allocations: 2.324 MB / 4.062 GB, free: 81.42 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002364/8.523, allocations: 1.427 MB / 4.063 GB, free: 81.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/8.523, allocations: 0.9375 kB / 4.063 GB, free: 81.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/8.524, allocations: 1.079 MB / 4.064 GB, free: 81.38 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/8.526, allocations: 403.3 kB / 4.064 GB, free: 81.38 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/8.53, allocations: 2.635 MB / 4.067 GB, free: 80.83 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008883/8.531, allocations: 1.376 MB / 4.068 GB, free: 80.11 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001526/8.533, allocations: 0.6624 MB / 4.069 GB, free: 80.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/8.533, allocations: 93.55 kB / 4.069 GB, free: 80.09 MB / 0.573 GB Notification: Performance of SimCode: time 7.02e-07/8.533, allocations: 2.062 kB / 4.069 GB, free: 80.09 MB / 0.573 GB Notification: Performance of Templates: time 0.06674/8.6, allocations: 46.51 MB / 4.115 GB, free: 78.45 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches