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.001346/0.001346, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 226.5 MB / 245.4 MB, free: 6.434 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009757/0.0009761, allocations: 92.95 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4147/0.4147, allocations: 44.82 MB / 394.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003155, allocations: 11.98 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.4902, allocations: 62.95 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.775/6.265, allocations: 2.794 GB / 3.312 GB, free: 168.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/6.266, allocations: 94.09 kB / 3.312 GB, free: 168.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.443/8.709, allocations: 0.6289 GB / 3.941 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.364e-06/8.709, allocations: 1.188 kB / 3.941 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.538e-05/8.709, allocations: 27.94 kB / 3.941 GB, free: 55.34 MB / 0.5573 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.01032/8.719, allocations: 2.505 MB / 3.943 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/8.719, allocations: 7.375 kB / 3.943 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00501/8.724, allocations: 0.5825 MB / 3.944 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/8.727, allocations: 0.8483 MB / 3.945 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/8.727, allocations: 213 kB / 3.945 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/8.727, allocations: 103.2 kB / 3.945 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004032/8.731, allocations: 1.87 MB / 3.947 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/8.731, allocations: 7.094 kB / 3.947 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/8.731, allocations: 45.41 kB / 3.947 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.313e-05/8.731, allocations: 46.34 kB / 3.947 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003746/8.735, allocations: 1.668 MB / 3.949 GB, free: 53.64 MB / 0.5573 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.01003/8.745, allocations: 8.59 MB / 3.957 GB, free: 48.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/8.748, allocations: 1.016 MB / 3.958 GB, free: 48.01 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007873/8.749, allocations: 439.1 kB / 3.959 GB, free: 48 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03915/8.788, allocations: 26.89 MB / 3.985 GB, free: 27.25 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.343e-05/8.788, allocations: 43.94 kB / 3.985 GB, free: 27.21 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001518/8.79, allocations: 119.2 kB / 3.985 GB, free: 27.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=70): time 1.095e-05/8.79, allocations: 0 / 3.985 GB, free: 27.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=78): time 0.01401/8.804, allocations: 3.585 MB / 3.988 GB, free: 26.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/8.804, allocations: 115.3 kB / 3.989 GB, free: 26.45 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/8.806, allocations: 0.8437 MB / 3.989 GB, free: 26.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/8.806, allocations: 42.11 kB / 3.989 GB, free: 26.27 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005258/8.806, allocations: 0.5651 MB / 3.99 GB, free: 25.96 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/8.807, allocations: 272.6 kB / 3.99 GB, free: 25.79 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/8.807, allocations: 32.75 kB / 3.99 GB, free: 25.79 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001906/8.807, allocations: 403.6 kB / 3.991 GB, free: 25.48 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/8.808, allocations: 445.3 kB / 3.991 GB, free: 25.48 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/8.809, allocations: 1.006 MB / 3.992 GB, free: 24.78 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002246/8.812, allocations: 1.519 MB / 3.994 GB, free: 24.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-05/8.812, allocations: 3.812 kB / 3.994 GB, free: 24.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003904/8.816, allocations: 1.77 MB / 3.995 GB, free: 23.97 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/8.816, allocations: 11.66 kB / 3.995 GB, free: 23.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/8.816, allocations: 18.78 kB / 3.995 GB, free: 23.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002901/8.819, allocations: 0.6249 MB / 3.996 GB, free: 23.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008678/8.82, allocations: 249.9 kB / 3.996 GB, free: 23.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/8.822, allocations: 1.852 MB / 3.998 GB, free: 22.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/8.823, allocations: 126.3 kB / 3.998 GB, free: 22.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/8.824, allocations: 77.69 kB / 3.998 GB, free: 22.88 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.000876/8.825, allocations: 335.4 kB / 3.998 GB, free: 22.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003747/8.825, allocations: 108.6 kB / 3.999 GB, free: 22.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007321/8.832, allocations: 4.515 MB / 4.003 GB, free: 22.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.353e-05/8.832, allocations: 66.36 kB / 4.003 GB, free: 22.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/8.832, allocations: 1.516 kB / 4.003 GB, free: 22.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/8.832, allocations: 6.656 kB / 4.003 GB, free: 22.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/8.844, allocations: 6.317 MB / 4.009 GB, free: 21.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/8.844, allocations: 2.906 kB / 4.009 GB, free: 21.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005844/8.844, allocations: 166.7 kB / 4.009 GB, free: 21.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001866/8.846, allocations: 0.6856 MB / 4.01 GB, free: 21.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/8.846, allocations: 25.53 kB / 4.01 GB, free: 21.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/8.848, allocations: 1.798 MB / 4.012 GB, free: 20.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/8.848, allocations: 0 / 4.012 GB, free: 20.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006526/8.855, allocations: 4.003 MB / 4.016 GB, free: 20.14 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/8.856, allocations: 425.8 kB / 4.016 GB, free: 19.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004801/8.857, allocations: 16.11 kB / 4.016 GB, free: 19.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/8.858, allocations: 88.36 kB / 4.016 GB, free: 19.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/8.858, allocations: 72.72 kB / 4.016 GB, free: 19.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/8.858, allocations: 35.59 kB / 4.016 GB, free: 19.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001781/8.86, allocations: 0.6552 MB / 4.017 GB, free: 19.79 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.303e-06/8.86, allocations: 0 / 4.017 GB, free: 19.79 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009874/8.87, allocations: 1.563 MB / 4.019 GB, free: 19.54 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.01726/8.887, allocations: 2.172 MB / 4.021 GB, free: 19.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004784/8.892, allocations: 1.696 MB / 4.022 GB, free: 19.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/8.892, allocations: 2.844 kB / 4.022 GB, free: 19.09 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002463/8.895, allocations: 1.22 MB / 4.023 GB, free: 19.07 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004246/8.899, allocations: 0.5119 MB / 4.024 GB, free: 19.06 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008262/8.907, allocations: 4.456 MB / 4.028 GB, free: 17.28 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/8.91, allocations: 1.387 MB / 4.03 GB, free: 32.56 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00179/8.911, allocations: 0.6003 MB / 4.03 GB, free: 32.55 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/8.912, allocations: 97.34 kB / 4.03 GB, free: 32.54 MB / 0.573 GB Notification: Performance of SimCode: time 9.52e-07/8.912, allocations: 0 / 4.03 GB, free: 32.54 MB / 0.573 GB Notification: Performance of Templates: time 0.09024/9.002, allocations: 58.75 MB / 4.088 GB, free: 29.66 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/jenkins1/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