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.001539/0.001538, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001076, allocations: 78.67 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2833/0.2833, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.733e-05/3.74e-05, allocations: 0 / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1313, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.915/8.047, allocations: 2.787 GB / 3.26 GB, free: 57.51 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/8.047, allocations: 83.83 kB / 3.26 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.411/11.46, allocations: 0.6559 GB / 3.916 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.254e-06/11.46, allocations: 0 / 3.916 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001117/11.46, allocations: 32.11 kB / 3.916 GB, free: 3.125 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.01052/11.47, allocations: 2.382 MB / 3.918 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/11.47, allocations: 8.031 kB / 3.918 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007245/11.48, allocations: 0.5761 MB / 3.919 GB, free: 140 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003088/11.48, allocations: 0.8351 MB / 3.92 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003523/11.48, allocations: 213.5 kB / 3.92 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004833/11.48, allocations: 96 kB / 3.92 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007212/11.49, allocations: 1.862 MB / 3.922 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.401e-05/11.49, allocations: 7.938 kB / 3.922 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/11.49, allocations: 51.56 kB / 3.922 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/11.49, allocations: 45.98 kB / 3.922 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006855/11.5, allocations: 1.6 MB / 3.923 GB, free: 11.22 MB / 0.5261 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.018/11.51, allocations: 8.596 MB / 3.932 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004147/11.52, allocations: 0.9927 MB / 3.933 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/11.52, allocations: 370.5 kB / 3.933 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4614/11.98, allocations: 25.06 MB / 3.958 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.498e-05/11.98, allocations: 50.67 kB / 3.958 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001257/11.98, allocations: 121.9 kB / 3.958 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 4.279e-06/11.98, allocations: 0 / 3.958 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.01331/11.99, allocations: 3.018 MB / 3.961 GB, free: 32.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/11.99, allocations: 111.7 kB / 3.961 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/12, allocations: 0.7342 MB / 3.962 GB, free: 32.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002523/12, allocations: 42.17 kB / 3.962 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/12, allocations: 0.5858 MB / 3.962 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/12, allocations: 283.6 kB / 3.962 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.907e-05/12, allocations: 25.25 kB / 3.962 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001227/12, allocations: 365.1 kB / 3.963 GB, free: 31.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/12, allocations: 372.1 kB / 3.963 GB, free: 31.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/12, allocations: 0.9301 MB / 3.964 GB, free: 30.74 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/12, allocations: 0.53 MB / 3.965 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/12, allocations: 7.25 kB / 3.965 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004215/12.01, allocations: 1.541 MB / 3.966 GB, free: 30.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.453e-05/12.01, allocations: 15.66 kB / 3.966 GB, free: 30.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/12.01, allocations: 19.69 kB / 3.966 GB, free: 30.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003613/12.01, allocations: 0.5401 MB / 3.967 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/12.01, allocations: 257.9 kB / 3.967 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/12.01, allocations: 1.75 MB / 3.969 GB, free: 29.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/12.02, allocations: 130.4 kB / 3.969 GB, free: 29.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/12.02, allocations: 76.84 kB / 3.969 GB, free: 29.55 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 (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 () * 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.000351/12.02, allocations: 202.8 kB / 3.969 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/12.02, allocations: 111.2 kB / 3.969 GB, free: 29.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007085/12.02, allocations: 4.548 MB / 3.974 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.012e-05/12.02, allocations: 67.7 kB / 3.974 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/12.02, allocations: 1.188 kB / 3.974 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/12.02, allocations: 7.188 kB / 3.974 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009811/12.03, allocations: 6.256 MB / 3.98 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/12.03, allocations: 0 / 3.98 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/12.04, allocations: 166.8 kB / 3.98 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002719/12.04, allocations: 0.7897 MB / 3.981 GB, free: 28.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/12.04, allocations: 27.75 kB / 3.981 GB, free: 28.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/12.04, allocations: 1.791 MB / 3.982 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/12.04, allocations: 3.609 kB / 3.982 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006/12.05, allocations: 3.789 MB / 3.986 GB, free: 26.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/12.05, allocations: 433.1 kB / 3.987 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/12.05, allocations: 17.06 kB / 3.987 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/12.05, allocations: 99.23 kB / 3.987 GB, free: 26.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/12.05, allocations: 72.44 kB / 3.987 GB, free: 26.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/12.05, allocations: 40.73 kB / 3.987 GB, free: 26.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001271/12.05, allocations: 0.6413 MB / 3.987 GB, free: 26.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.823e-06/12.05, allocations: 0 / 3.987 GB, free: 26.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007284/12.06, allocations: 1.538 MB / 3.989 GB, free: 26.54 MB / 0.5261 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 () * 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.01188/12.07, allocations: 2.152 MB / 3.991 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003623/12.07, allocations: 1.554 MB / 3.993 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/12.07, allocations: 5.25 kB / 3.993 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002138/12.08, allocations: 1.157 MB / 3.994 GB, free: 26.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004447/12.08, allocations: 0.5077 MB / 3.994 GB, free: 26.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006652/12.09, allocations: 2.908 MB / 3.997 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009878/12.09, allocations: 1.414 MB / 3.998 GB, free: 24.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/12.09, allocations: 113.1 kB / 3.998 GB, free: 24.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/12.09, allocations: 0 / 3.998 GB, free: 24.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.1028/12.19, allocations: 55.28 MB / 4.052 GB, free: 21.41 MB / 0.5261 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