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.001534/0.001534, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.444/1.444, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007422/0.0007422, allocations: 78.42 kB / 271.3 MB, free: 8.258 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.3539/0.3539, allocations: 43.56 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.000389, allocations: 16 kB / 432.6 MB, free: 4.988 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1299, allocations: 58.85 MB / 491.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.113/6.243, allocations: 2.788 GB / 3.268 GB, free: 84.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/6.243, allocations: 91.39 kB / 3.268 GB, free: 84.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.398/8.641, allocations: 0.623 GB / 3.891 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.975e-06/8.642, allocations: 0 / 3.891 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001379/8.642, allocations: 28.91 kB / 3.891 GB, free: 30.52 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.01177/8.653, allocations: 2.487 MB / 3.893 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/8.654, allocations: 13.2 kB / 3.893 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005448/8.659, allocations: 0.5846 MB / 3.894 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002758/8.662, allocations: 0.8533 MB / 3.894 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002765/8.662, allocations: 216.6 kB / 3.895 GB, free: 28.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004993/8.663, allocations: 99.06 kB / 3.895 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005141/8.668, allocations: 1.868 MB / 3.897 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.593e-05/8.668, allocations: 9.688 kB / 3.897 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/8.668, allocations: 45 kB / 3.897 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-05/8.668, allocations: 46.84 kB / 3.897 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004131/8.672, allocations: 1.665 MB / 3.898 GB, free: 26.92 MB / 0.5105 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.01102/8.683, allocations: 8.592 MB / 3.907 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/8.686, allocations: 1.035 MB / 3.908 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008574/8.687, allocations: 433.4 kB / 3.908 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0379/8.725, allocations: 25.02 MB / 3.933 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.905e-05/8.725, allocations: 47.12 kB / 3.933 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001196/8.726, allocations: 122.8 kB / 3.933 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 5.62e-06/8.726, allocations: 0 / 3.933 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.01248/8.739, allocations: 3.583 MB / 3.936 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/8.739, allocations: 115.4 kB / 3.936 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/8.742, allocations: 0.8449 MB / 3.937 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001953/8.742, allocations: 41.7 kB / 3.937 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008689/8.743, allocations: 0.5556 MB / 3.938 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004448/8.743, allocations: 286.6 kB / 3.938 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/8.743, allocations: 28 kB / 3.938 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003593/8.744, allocations: 410.7 kB / 3.938 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/8.745, allocations: 438.3 kB / 3.939 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/8.747, allocations: 1.009 MB / 3.94 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4013/9.148, allocations: 1.508 MB / 3.941 GB, free: 54.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/9.148, allocations: 5.781 kB / 3.941 GB, free: 54.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004503/9.153, allocations: 1.768 MB / 3.943 GB, free: 54.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/9.153, allocations: 13.78 kB / 3.943 GB, free: 54.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.633e-05/9.153, allocations: 18.56 kB / 3.943 GB, free: 54.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002837/9.155, allocations: 0.6178 MB / 3.944 GB, free: 54.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008759/9.156, allocations: 252.4 kB / 3.944 GB, free: 54.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/9.159, allocations: 1.85 MB / 3.946 GB, free: 53.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/9.16, allocations: 127.8 kB / 3.946 GB, free: 53.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/9.16, allocations: 77.19 kB / 3.946 GB, free: 53.26 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 () * 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.0007035/9.161, allocations: 340.6 kB / 3.946 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/9.161, allocations: 102.8 kB / 3.946 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00596/9.167, allocations: 4.528 MB / 3.951 GB, free: 52.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.985e-05/9.167, allocations: 59.34 kB / 3.951 GB, free: 52.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/9.167, allocations: 0 / 3.951 GB, free: 52.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/9.167, allocations: 7.266 kB / 3.951 GB, free: 52.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008085/9.175, allocations: 6.307 MB / 3.957 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/9.175, allocations: 1.844 kB / 3.957 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/9.176, allocations: 165.6 kB / 3.957 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/9.178, allocations: 0.6896 MB / 3.958 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/9.178, allocations: 25.75 kB / 3.958 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/9.179, allocations: 1.797 MB / 3.96 GB, free: 51.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/9.179, allocations: 0 / 3.96 GB, free: 51.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005106/9.184, allocations: 4 MB / 3.964 GB, free: 50.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009665/9.185, allocations: 425.9 kB / 3.964 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/9.185, allocations: 18.56 kB / 3.964 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/9.186, allocations: 89.53 kB / 3.964 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/9.186, allocations: 76.23 kB / 3.964 GB, free: 50.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.488e-05/9.186, allocations: 42.27 kB / 3.964 GB, free: 50.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001014/9.187, allocations: 0.6515 MB / 3.965 GB, free: 50.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/9.187, allocations: 0 / 3.965 GB, free: 50.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0079/9.195, allocations: 1.538 MB / 3.966 GB, free: 50.49 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 () * 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.01141/9.207, allocations: 2.166 MB / 3.968 GB, free: 50.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003694/9.21, allocations: 1.694 MB / 3.97 GB, free: 50.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/9.21, allocations: 0 / 3.97 GB, free: 50.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/9.212, allocations: 1.221 MB / 3.971 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/9.215, allocations: 0.5012 MB / 3.972 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006231/9.222, allocations: 4.453 MB / 3.976 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008623/9.223, allocations: 1.389 MB / 3.977 GB, free: 47.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001663/9.224, allocations: 0.595 MB / 3.978 GB, free: 47.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/9.225, allocations: 97.81 kB / 3.978 GB, free: 47.78 MB / 0.5261 GB Notification: Performance of SimCode: time 1.473e-06/9.225, allocations: 3.531 kB / 3.978 GB, free: 47.78 MB / 0.5261 GB Notification: Performance of Templates: time 0.09858/9.323, allocations: 58.69 MB / 4.035 GB, free: 45.18 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/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_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches