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.002167/0.002166, allocations: 178.8 kB / 8.363 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001125, allocations: 92.7 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2932/0.2932, allocations: 43.49 MB / 353.6 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.064e-05, allocations: 0 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4001, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.86/8.26, allocations: 2.786 GB / 3.252 GB, free: 3.605 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/8.261, allocations: 89.45 kB / 3.252 GB, free: 3.562 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 3.693/11.95, allocations: 0.6498 GB / 3.902 GB, free: 49.68 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.234e-06/11.95, allocations: 0 / 3.902 GB, free: 49.68 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001016/11.95, allocations: 23.84 kB / 3.902 GB, free: 49.68 MB / 0.5108 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.01076/11.97, allocations: 2.383 MB / 3.905 GB, free: 48.58 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/11.97, allocations: 7.75 kB / 3.905 GB, free: 48.58 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007576/11.97, allocations: 0.5811 MB / 3.905 GB, free: 48.52 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002838/11.98, allocations: 0.835 MB / 3.906 GB, free: 48.23 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002368/11.98, allocations: 175.7 kB / 3.906 GB, free: 48.11 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/11.98, allocations: 64.64 kB / 3.906 GB, free: 48.1 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003017/11.98, allocations: 1.159 MB / 3.907 GB, free: 48.09 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/11.98, allocations: 1.371 MB / 3.909 GB, free: 47.7 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/11.98, allocations: 10.78 kB / 3.909 GB, free: 47.7 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/11.98, allocations: 3.969 kB / 3.909 GB, free: 47.7 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-05/11.98, allocations: 48.16 kB / 3.909 GB, free: 47.69 MB / 0.5108 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.1143/12.1, allocations: 40.92 MB / 3.949 GB, free: 22.13 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/12.1, allocations: 0.5737 MB / 3.949 GB, free: 22.1 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006608/12.1, allocations: 326.3 kB / 3.95 GB, free: 22.09 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07051/12.17, allocations: 25.07 MB / 3.974 GB, free: 18.59 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.967e-05/12.17, allocations: 41.84 kB / 3.974 GB, free: 18.55 MB / 0.5265 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001166/12.17, allocations: 106.6 kB / 3.974 GB, free: 18.5 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=64): time 4.649e-06/12.17, allocations: 3.719 kB / 3.974 GB, free: 18.5 MB / 0.5265 GB Notification: Performance of matching and sorting (n=72): time 0.01476/12.19, allocations: 2.82 MB / 3.977 GB, free: 17.98 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/12.19, allocations: 111.8 kB / 3.977 GB, free: 17.86 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/12.19, allocations: 0.6508 MB / 3.978 GB, free: 17.71 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0002097/12.19, allocations: 25.7 kB / 3.978 GB, free: 17.68 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/12.19, allocations: 0.6146 MB / 3.978 GB, free: 17.27 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/12.19, allocations: 253.3 kB / 3.979 GB, free: 17.11 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.199e-05/12.19, allocations: 0 / 3.979 GB, free: 17.11 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001886/12.19, allocations: 359 kB / 3.979 GB, free: 16.8 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008108/12.19, allocations: 353.6 kB / 3.979 GB, free: 16.8 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/12.19, allocations: 0.898 MB / 3.98 GB, free: 16.08 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/12.19, allocations: 0.6382 MB / 3.981 GB, free: 16.04 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.037e-05/12.19, allocations: 5.688 kB / 3.981 GB, free: 16.04 MB / 0.5265 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.005673/12.2, allocations: 1.525 MB / 3.982 GB, free: 15.94 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/12.2, allocations: 20.59 kB / 3.982 GB, free: 15.93 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/12.2, allocations: 16.66 kB / 3.982 GB, free: 15.93 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/12.2, allocations: 453.3 kB / 3.983 GB, free: 15.91 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/12.2, allocations: 259.6 kB / 3.983 GB, free: 15.9 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/12.21, allocations: 1.804 MB / 3.985 GB, free: 14.85 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/12.21, allocations: 132.2 kB / 3.985 GB, free: 14.83 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002561/12.21, allocations: 74.14 kB / 3.985 GB, free: 14.83 MB / 0.5265 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.0004021/12.21, allocations: 166.9 kB / 3.985 GB, free: 14.71 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/12.21, allocations: 92.59 kB / 3.985 GB, free: 14.66 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007816/12.22, allocations: 4.063 MB / 3.989 GB, free: 14.23 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.611e-05/12.22, allocations: 61.77 kB / 3.989 GB, free: 14.23 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/12.22, allocations: 2.062 kB / 3.989 GB, free: 14.23 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/12.22, allocations: 3.703 kB / 3.989 GB, free: 14.23 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/12.23, allocations: 5.554 MB / 3.995 GB, free: 13.65 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/12.23, allocations: 0 / 3.995 GB, free: 13.65 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/12.23, allocations: 149.9 kB / 3.995 GB, free: 13.64 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001872/12.23, allocations: 0.7225 MB / 3.996 GB, free: 13.6 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/12.23, allocations: 20.64 kB / 3.996 GB, free: 13.6 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003081/12.23, allocations: 1.908 MB / 3.997 GB, free: 28.54 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/12.23, allocations: 0 / 3.997 GB, free: 28.54 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006666/12.24, allocations: 3.67 MB / 4.001 GB, free: 28.1 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009267/12.24, allocations: 351 kB / 4.001 GB, free: 27.89 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/12.24, allocations: 7.844 kB / 4.001 GB, free: 27.88 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/12.24, allocations: 70.61 kB / 4.001 GB, free: 27.87 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/12.24, allocations: 80 kB / 4.002 GB, free: 27.86 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.433e-05/12.24, allocations: 32.62 kB / 4.002 GB, free: 27.86 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0008695/12.24, allocations: 469.6 kB / 4.002 GB, free: 27.77 MB / 0.5421 GB Notification: Performance of sort global known variables: time 4.51e-07/12.24, allocations: 0 / 4.002 GB, free: 27.77 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.007439/12.25, allocations: 1.457 MB / 4.003 GB, free: 27.54 MB / 0.5421 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.0132/12.27, allocations: 2.305 MB / 4.006 GB, free: 27.02 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.003292/12.27, allocations: 1.428 MB / 4.007 GB, free: 26.98 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/12.27, allocations: 4.094 kB / 4.007 GB, free: 26.98 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001933/12.27, allocations: 1.077 MB / 4.008 GB, free: 26.96 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003606/12.27, allocations: 392.8 kB / 4.008 GB, free: 26.93 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005787/12.28, allocations: 2.689 MB / 4.011 GB, free: 26.23 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/12.28, allocations: 1.368 MB / 4.012 GB, free: 25.48 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/12.28, allocations: 96.61 kB / 4.013 GB, free: 25.48 MB / 0.5421 GB Notification: Performance of SimCode: time 1.072e-06/12.28, allocations: 1.594 kB / 4.013 GB, free: 25.48 MB / 0.5421 GB Notification: Performance of Templates: time 0.5286/12.81, allocations: 53.58 MB / 4.065 GB, free: 77.23 MB / 0.5421 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