Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 194 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 226.5 MB / 244.1 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008414/0.0008415, allocations: 98.91 kB / 296.1 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.338/0.338, allocations: 44.83 MB / 393 MB, free: 35.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002915, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.386, allocations: 62.96 MB / 0.5165 GB, free: 37.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.214/6.6, allocations: 2.794 GB / 3.31 GB, free: 168.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/6.6, allocations: 90.03 kB / 3.31 GB, free: 168.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.448/9.048, allocations: 0.6289 GB / 3.939 GB, free: 44.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.066e-06/9.048, allocations: 0 / 3.939 GB, free: 44.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.619e-05/9.048, allocations: 26.56 kB / 3.939 GB, free: 44.8 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.009257/9.057, allocations: 2.497 MB / 3.942 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/9.057, allocations: 8.5 kB / 3.942 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00447/9.062, allocations: 0.5795 MB / 3.942 GB, free: 43.78 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/9.064, allocations: 0.8568 MB / 3.943 GB, free: 43.47 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/9.064, allocations: 211.2 kB / 3.943 GB, free: 43.34 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/9.064, allocations: 95.34 kB / 3.943 GB, free: 43.34 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004412/9.068, allocations: 1.874 MB / 3.945 GB, free: 42.94 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/9.068, allocations: 8.969 kB / 3.945 GB, free: 42.94 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/9.068, allocations: 50.95 kB / 3.945 GB, free: 42.93 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.808e-05/9.069, allocations: 43.31 kB / 3.945 GB, free: 42.93 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004518/9.073, allocations: 1.672 MB / 3.947 GB, free: 42.92 MB / 0.5417 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.009555/9.083, allocations: 8.602 MB / 3.955 GB, free: 37.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/9.086, allocations: 1.016 MB / 3.956 GB, free: 37.27 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009483/9.087, allocations: 440.6 kB / 3.957 GB, free: 37.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04567/9.132, allocations: 26.87 MB / 3.983 GB, free: 32.51 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.235e-05/9.132, allocations: 44.19 kB / 3.983 GB, free: 32.47 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001405/9.134, allocations: 124.3 kB / 3.983 GB, free: 32.42 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=70): time 5.881e-06/9.134, allocations: 0 / 3.983 GB, free: 32.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=78): time 0.01179/9.146, allocations: 3.59 MB / 3.986 GB, free: 31.83 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/9.146, allocations: 113.3 kB / 3.987 GB, free: 31.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/9.147, allocations: 0.8469 MB / 3.987 GB, free: 31.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.622e-05/9.147, allocations: 39.64 kB / 3.987 GB, free: 31.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/9.148, allocations: 0.5598 MB / 3.988 GB, free: 31.21 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/9.148, allocations: 279.4 kB / 3.988 GB, free: 31.04 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/9.148, allocations: 25.88 kB / 3.988 GB, free: 31.04 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002011/9.148, allocations: 410.7 kB / 3.989 GB, free: 30.73 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/9.149, allocations: 443.2 kB / 3.989 GB, free: 30.73 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/9.151, allocations: 1.012 MB / 3.99 GB, free: 30.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/9.154, allocations: 1.518 MB / 3.992 GB, free: 29.33 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/9.154, allocations: 7.906 kB / 3.992 GB, free: 29.33 MB / 0.5573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003804/9.158, allocations: 1.766 MB / 3.993 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/9.158, allocations: 13.28 kB / 3.993 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/9.158, allocations: 18.69 kB / 3.993 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002767/9.16, allocations: 0.6216 MB / 3.994 GB, free: 29.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007586/9.161, allocations: 255.6 kB / 3.994 GB, free: 29.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/9.164, allocations: 1.846 MB / 3.996 GB, free: 28.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/9.165, allocations: 132.5 kB / 3.996 GB, free: 28.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/9.165, allocations: 77.62 kB / 3.996 GB, free: 28.12 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.0006766/9.166, allocations: 334.2 kB / 3.997 GB, free: 28 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/9.166, allocations: 104 kB / 3.997 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005548/9.172, allocations: 4.527 MB / 4.001 GB, free: 27.49 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-05/9.172, allocations: 63.95 kB / 4.001 GB, free: 27.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/9.172, allocations: 0 / 4.001 GB, free: 27.48 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/9.172, allocations: 3.516 kB / 4.001 GB, free: 27.48 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007865/9.18, allocations: 6.314 MB / 4.007 GB, free: 26.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/9.18, allocations: 0 / 4.007 GB, free: 26.87 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/9.18, allocations: 165.2 kB / 4.007 GB, free: 26.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/9.182, allocations: 0.6825 MB / 4.008 GB, free: 26.83 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.634e-05/9.182, allocations: 31.52 kB / 4.008 GB, free: 26.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/9.184, allocations: 1.795 MB / 4.01 GB, free: 25.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/9.184, allocations: 0 / 4.01 GB, free: 25.78 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004863/9.188, allocations: 4.006 MB / 4.014 GB, free: 25.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008482/9.189, allocations: 425.1 kB / 4.014 GB, free: 25.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/9.189, allocations: 21.78 kB / 4.014 GB, free: 25.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006755/9.19, allocations: 83.52 kB / 4.014 GB, free: 25.14 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/9.19, allocations: 77.22 kB / 4.014 GB, free: 25.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/9.19, allocations: 41.64 kB / 4.014 GB, free: 25.14 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000898/9.191, allocations: 0.6517 MB / 4.015 GB, free: 25.03 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.2e-07/9.191, allocations: 0 / 4.015 GB, free: 25.03 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006387/9.198, allocations: 1.561 MB / 4.017 GB, free: 24.79 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.009912/9.208, allocations: 2.17 MB / 4.019 GB, free: 24.38 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003606/9.211, allocations: 1.687 MB / 4.02 GB, free: 24.33 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/9.211, allocations: 2.969 kB / 4.02 GB, free: 24.33 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/9.214, allocations: 1.224 MB / 4.022 GB, free: 24.31 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003983/9.218, allocations: 0.5118 MB / 4.022 GB, free: 24.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008106/9.226, allocations: 4.499 MB / 4.026 GB, free: 22.49 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/9.227, allocations: 1.381 MB / 4.028 GB, free: 21.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/9.227, allocations: 110.5 kB / 4.028 GB, free: 21.77 MB / 0.5573 GB Notification: Performance of SimCode: time 1.012e-06/9.227, allocations: 3.938 kB / 4.028 GB, free: 21.76 MB / 0.5573 GB Notification: Performance of Templates: time 0.08704/9.314, allocations: 53.59 MB / 4.08 GB, free: 17.89 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches