Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001094/0.001094, allocations: 183.2 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007478/0.0007479, allocations: 93.86 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3204/0.3204, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.882e-05, allocations: 3.938 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.738/4.847, allocations: 2.787 GB / 3.26 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/4.847, allocations: 87.23 kB / 3.26 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.82/6.667, allocations: 0.6559 GB / 3.916 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.443e-06/6.667, allocations: 0 / 3.916 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.457e-05/6.667, allocations: 34.72 kB / 3.916 GB, free: 26.68 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.006814/6.674, allocations: 2.382 MB / 3.918 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/6.674, allocations: 7.938 kB / 3.918 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/6.678, allocations: 0.5779 MB / 3.919 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/6.679, allocations: 0.8318 MB / 3.92 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/6.679, allocations: 209.2 kB / 3.92 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/6.68, allocations: 108.1 kB / 3.92 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/6.683, allocations: 1.861 MB / 3.922 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/6.683, allocations: 3.938 kB / 3.922 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/6.683, allocations: 49.88 kB / 3.922 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/6.683, allocations: 43.34 kB / 3.922 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002729/6.686, allocations: 1.597 MB / 3.923 GB, free: 23.1 MB / 0.5105 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.007047/6.693, allocations: 8.602 MB / 3.932 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/6.695, allocations: 0.9859 MB / 3.933 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000411/6.695, allocations: 381.5 kB / 3.933 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03333/6.729, allocations: 25.09 MB / 3.958 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/6.729, allocations: 46.88 kB / 3.958 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008764/6.729, allocations: 121.3 kB / 3.958 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.454e-06/6.729, allocations: 0 / 3.958 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.007083/6.737, allocations: 3.019 MB / 3.961 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/6.737, allocations: 111.6 kB / 3.961 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009375/6.738, allocations: 0.7388 MB / 3.962 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/6.738, allocations: 41.7 kB / 3.962 GB, free: 5.668 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/6.738, allocations: 0.5669 MB / 3.962 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/6.738, allocations: 276.5 kB / 3.962 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/6.738, allocations: 28 kB / 3.962 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001772/6.738, allocations: 410.7 kB / 3.963 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005643/6.739, allocations: 374.5 kB / 3.963 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008376/6.74, allocations: 0.93 MB / 3.964 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007188/6.741, allocations: 0.5211 MB / 3.965 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.649e-06/6.741, allocations: 11.98 kB / 3.965 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002266/6.743, allocations: 1.587 MB / 3.966 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/6.743, allocations: 15.98 kB / 3.966 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/6.743, allocations: 20.09 kB / 3.966 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002076/6.745, allocations: 0.544 MB / 3.967 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2602/7.005, allocations: 247.4 kB / 3.967 GB, free: 47.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/7.007, allocations: 1.748 MB / 3.969 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/7.008, allocations: 131.5 kB / 3.969 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/7.008, allocations: 75.89 kB / 3.969 GB, free: 46.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.0002486/7.008, allocations: 207.7 kB / 3.969 GB, free: 46.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/7.009, allocations: 102.1 kB / 3.969 GB, free: 46.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0054/7.014, allocations: 4.552 MB / 3.974 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.668e-05/7.014, allocations: 60.16 kB / 3.974 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/7.014, allocations: 1.094 kB / 3.974 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/7.014, allocations: 4.922 kB / 3.974 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/7.02, allocations: 6.259 MB / 3.98 GB, free: 45.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/7.02, allocations: 1.688 kB / 3.98 GB, free: 45.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/7.02, allocations: 172 kB / 3.98 GB, free: 45.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/7.022, allocations: 0.78 MB / 3.981 GB, free: 45.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/7.022, allocations: 24.97 kB / 3.981 GB, free: 45.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/7.023, allocations: 1.8 MB / 3.983 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/7.023, allocations: 0 / 3.983 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003169/7.026, allocations: 3.798 MB / 3.986 GB, free: 44.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/7.027, allocations: 428.1 kB / 3.987 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/7.027, allocations: 17.09 kB / 3.987 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/7.027, allocations: 95.25 kB / 3.987 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/7.028, allocations: 77.41 kB / 3.987 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/7.028, allocations: 36.55 kB / 3.987 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007302/7.028, allocations: 0.6386 MB / 3.987 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/7.028, allocations: 0 / 3.987 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005172/7.034, allocations: 1.541 MB / 3.989 GB, free: 43.82 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.007204/7.041, allocations: 2.159 MB / 3.991 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002119/7.043, allocations: 1.552 MB / 3.993 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/7.043, allocations: 4.094 kB / 3.993 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/7.044, allocations: 1.153 MB / 3.994 GB, free: 43.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/7.046, allocations: 0.508 MB / 3.994 GB, free: 43.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/7.05, allocations: 2.862 MB / 3.997 GB, free: 43.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/7.05, allocations: 1.42 MB / 3.998 GB, free: 42.33 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001084/7.052, allocations: 0.5914 MB / 3.999 GB, free: 42.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/7.052, allocations: 96.2 kB / 3.999 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/7.052, allocations: 0 / 3.999 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of Templates: time 0.06836/7.12, allocations: 58.45 MB / 4.056 GB, free: 39.81 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches