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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 114.8 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 208.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001367, allocations: 75.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1174, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2473/0.3647, allocations: 56.98 MB / 0.5258 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02997/0.3948, allocations: 30.76 MB / 0.5559 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.3966, allocations: 29.22 kB / 0.5559 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.3989, allocations: 0.668 MB / 0.5566 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01845/0.4174, allocations: 5.739 MB / 0.5622 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.4276, allocations: 3.887 MB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003785/0.4314, allocations: 3.055 MB / 0.5689 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.4324, allocations: 0.8188 MB / 0.5697 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01375/0.4462, allocations: 6.334 MB / 0.5759 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0152/0.4614, allocations: 7.439 MB / 0.5832 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003765/0.4618, allocations: 112 kB / 0.5833 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01612/0.478, allocations: 8.405 MB / 0.5915 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005461/0.4785, allocations: 402.8 kB / 0.5919 GB, free: 5.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.4796, allocations: 0.6767 MB / 0.5925 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01506/0.4947, allocations: 6.315 MB / 0.5987 GB, free: 14.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4947, allocations: 0 / 0.5987 GB, free: 14.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4947, allocations: 4 kB / 0.5987 GB, free: 14.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.4947, allocations: 0 / 0.5987 GB, free: 14.93 MB / 446.1 MB 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.005246/0.5, allocations: 2.245 MB / 0.6009 GB, free: 12.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5, allocations: 9.109 kB / 0.6009 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004625/0.5047, allocations: 0.6317 MB / 0.6015 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.506, allocations: 0.8072 MB / 0.6023 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.5062, allocations: 209.4 kB / 0.6025 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.5064, allocations: 96.38 kB / 0.6026 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003665/0.51, allocations: 1.826 MB / 0.6044 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.5101, allocations: 4 kB / 0.6044 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.5102, allocations: 47.94 kB / 0.6044 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.494e-05/0.5103, allocations: 45.98 kB / 0.6045 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/0.514, allocations: 1.639 MB / 0.6061 GB, free: 7.129 MB / 446.1 MB 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.008786/0.5228, allocations: 8.575 MB / 0.6145 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002779/0.5256, allocations: 0.9928 MB / 0.6154 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/0.5264, allocations: 410.3 kB / 0.6158 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04183/0.5682, allocations: 27.56 MB / 0.6427 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.5683, allocations: 39.12 kB / 0.6428 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005679/0.5689, allocations: 94.94 kB / 0.6429 GB, free: 12.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 2.454e-06/0.5689, allocations: 0 / 0.6429 GB, free: 12.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.009576/0.5785, allocations: 3.45 MB / 0.6462 GB, free: 9.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.5785, allocations: 111.5 kB / 0.6463 GB, free: 8.926 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009938/0.5795, allocations: 0.8488 MB / 0.6472 GB, free: 8.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/0.5796, allocations: 41.7 kB / 0.6472 GB, free: 8.023 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/0.58, allocations: 0.5717 MB / 0.6478 GB, free: 7.441 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.5802, allocations: 272.1 kB / 0.648 GB, free: 7.172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.5805, allocations: 274.6 kB / 0.6483 GB, free: 6.898 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5807, allocations: 406.7 kB / 0.6487 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008431/0.5815, allocations: 430.3 kB / 0.6491 GB, free: 6.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.5827, allocations: 0.997 MB / 0.6501 GB, free: 4.805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.5848, allocations: 1.498 MB / 0.6515 GB, free: 3.039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.5848, allocations: 4 kB / 0.6515 GB, free: 3.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003079/0.5879, allocations: 1.728 MB / 0.6532 GB, free: 1.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5879, allocations: 12 kB / 0.6532 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.588, allocations: 23.98 kB / 0.6533 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002508/0.5905, allocations: 0.5953 MB / 0.6538 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006949/0.5912, allocations: 243.6 kB / 0.6541 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.5933, allocations: 1.835 MB / 0.6559 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007991/0.5941, allocations: 67.95 kB / 0.6559 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.5942, allocations: 75.98 kB / 0.656 GB, free: 14.39 MB / 0.4981 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,mixingVolume2.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume1.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005085/0.5947, allocations: 339.8 kB / 0.6563 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.5949, allocations: 106.7 kB / 0.6564 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005222/0.6002, allocations: 4.436 MB / 0.6608 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.556e-05/0.6002, allocations: 71.83 kB / 0.6608 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6003, allocations: 0 / 0.6608 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.6003, allocations: 3.984 kB / 0.6608 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006966/0.6072, allocations: 6.247 MB / 0.6669 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.6073, allocations: 3.984 kB / 0.6669 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005347/0.6078, allocations: 155.8 kB / 0.6671 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.6093, allocations: 0.5343 MB / 0.6676 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.207e-05/0.6094, allocations: 23.98 kB / 0.6676 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.611, allocations: 1.788 MB / 0.6694 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.611, allocations: 8.031 kB / 0.6694 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005206/0.6162, allocations: 3.953 MB / 0.6732 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000816/0.6171, allocations: 358.2 kB / 0.6736 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/0.6173, allocations: 35.75 kB / 0.6736 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006909/0.618, allocations: 43.97 kB / 0.6737 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.6182, allocations: 72.89 kB / 0.6737 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.845e-05/0.6182, allocations: 35.98 kB / 0.6738 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008925/0.6191, allocations: 0.6627 MB / 0.6744 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6191, allocations: 0 / 0.6744 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003961/0.6231, allocations: 1.452 MB / 0.6758 GB, free: 9.781 MB / 0.5137 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,$cse24.phase,$cse24.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,10), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00591/0.629, allocations: 1.597 MB / 0.6774 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003085/0.6321, allocations: 1.66 MB / 0.679 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.6321, allocations: 4 kB / 0.679 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.6338, allocations: 1.22 MB / 0.6802 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.6363, allocations: 0.5445 MB / 0.6807 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.6416, allocations: 3.595 MB / 0.6842 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.6427, allocations: 1.394 MB / 0.6856 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001181/0.6439, allocations: 0.593 MB / 0.6862 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.6442, allocations: 103.4 kB / 0.6863 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/0.6442, allocations: 0 / 0.6863 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of Templates: time 0.272/0.9162, allocations: 59.98 MB / 0.7449 GB, free: 195.7 MB / 0.545 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches