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.001669/0.001669, allocations: 111.4 kB / 17.98 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00192/0.00192, allocations: 213.8 kB / 18.92 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 247.1 MB, free: 8.977 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.12 MB / 344.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 80.95 kB / 417.8 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1301, allocations: 62.45 MB / 480.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2999/0.43, allocations: 57.54 MB / 0.5252 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03676/0.4668, allocations: 30.87 MB / 0.5553 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.469, allocations: 40.31 kB / 0.5553 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.4713, allocations: 0.5973 MB / 0.5559 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01763/0.4889, allocations: 5.138 MB / 0.561 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01147/0.5004, allocations: 3.55 MB / 0.5644 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004568/0.505, allocations: 3.068 MB / 0.5674 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.5066, allocations: 0.8172 MB / 0.5682 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01386/0.5204, allocations: 6.322 MB / 0.5744 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01463/0.5351, allocations: 7.493 MB / 0.5817 GB, free: 4 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006354/0.5358, allocations: 112 kB / 0.5818 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01897/0.5548, allocations: 8.292 MB / 0.5899 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008283/0.5557, allocations: 406.8 kB / 0.5903 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.557, allocations: 0.6923 MB / 0.591 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.5672, allocations: 4.433 MB / 0.5953 GB, free: 2.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.5673, allocations: 3.938 kB / 0.5953 GB, free: 2.055 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5673, allocations: 0 / 0.5953 GB, free: 2.055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.5673, allocations: 0 / 0.5953 GB, free: 2.055 MB / 430.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.006817/0.5741, allocations: 2.253 MB / 0.5975 GB, free: 15.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.5742, allocations: 13.11 kB / 0.5975 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004927/0.5791, allocations: 0.62 MB / 0.5981 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.5807, allocations: 0.7721 MB / 0.5989 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00023/0.581, allocations: 209.4 kB / 0.5991 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.5812, allocations: 100.3 kB / 0.5992 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004431/0.5856, allocations: 1.826 MB / 0.601 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.5857, allocations: 7.938 kB / 0.601 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.5858, allocations: 47.98 kB / 0.601 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-05/0.5859, allocations: 45.94 kB / 0.6011 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004194/0.5901, allocations: 1.647 MB / 0.6027 GB, free: 10.27 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.01111/0.6012, allocations: 8.566 MB / 0.611 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.6043, allocations: 0.9869 MB / 0.612 GB, free: 92 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008838/0.6052, allocations: 418.3 kB / 0.6124 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04797/0.6532, allocations: 27.5 MB / 0.6392 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.147e-05/0.6533, allocations: 43.12 kB / 0.6393 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008243/0.6541, allocations: 102.9 kB / 0.6394 GB, free: 15.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 2.435e-06/0.6542, allocations: 0 / 0.6394 GB, free: 15.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.0108/0.665, allocations: 3.458 MB / 0.6428 GB, free: 12.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.793e-05/0.6651, allocations: 111.5 kB / 0.6429 GB, free: 12.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.6663, allocations: 0.8527 MB / 0.6437 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.99e-05/0.6664, allocations: 41.7 kB / 0.6437 GB, free: 11.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.6669, allocations: 0.5679 MB / 0.6443 GB, free: 10.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.6672, allocations: 280 kB / 0.6446 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003928/0.6676, allocations: 270.5 kB / 0.6448 GB, free: 10.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.6678, allocations: 406.7 kB / 0.6452 GB, free: 9.676 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009292/0.6687, allocations: 438.3 kB / 0.6456 GB, free: 9.246 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.6702, allocations: 0.9853 MB / 0.6466 GB, free: 7.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.6726, allocations: 1.498 MB / 0.648 GB, free: 6.227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.6726, allocations: 4 kB / 0.6481 GB, free: 6.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003544/0.6762, allocations: 1.727 MB / 0.6497 GB, free: 4.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.6762, allocations: 13 kB / 0.6498 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.6762, allocations: 20 kB / 0.6498 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002907/0.6792, allocations: 0.615 MB / 0.6504 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007672/0.6799, allocations: 243.6 kB / 0.6506 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.6823, allocations: 1.811 MB / 0.6524 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.6835, allocations: 116 kB / 0.6525 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.6837, allocations: 79.98 kB / 0.6526 GB, free: 1.535 MB / 494.1 MB 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.0005823/0.6842, allocations: 339.5 kB / 0.6529 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.6845, allocations: 110.6 kB / 0.653 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006/0.6905, allocations: 4.461 MB / 0.6573 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.506e-05/0.6906, allocations: 63.84 kB / 0.6574 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.6906, allocations: 0 / 0.6574 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.6906, allocations: 3.984 kB / 0.6574 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008967/0.6996, allocations: 6.265 MB / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.6996, allocations: 0 / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006395/0.7003, allocations: 159.8 kB / 0.6637 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.7018, allocations: 0.5304 MB / 0.6642 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.563e-05/0.7019, allocations: 27.98 kB / 0.6642 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/0.7037, allocations: 1.796 MB / 0.666 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7037, allocations: 0 / 0.666 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005524/0.7092, allocations: 3.939 MB / 0.6698 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006761/0.7099, allocations: 362.2 kB / 0.6702 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.7102, allocations: 35.75 kB / 0.6702 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/0.7108, allocations: 79.78 kB / 0.6703 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.711, allocations: 76.89 kB / 0.6704 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/0.7111, allocations: 35.98 kB / 0.6704 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009566/0.7121, allocations: 0.6627 MB / 0.671 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7121, allocations: 0 / 0.671 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004387/0.7165, allocations: 1.452 MB / 0.6725 GB, free: 12.87 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.006045/0.7225, allocations: 1.613 MB / 0.674 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005155/0.7277, allocations: 1.784 MB / 0.6758 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7277, allocations: 0 / 0.6758 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.7297, allocations: 1.212 MB / 0.677 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.7325, allocations: 0.5456 MB / 0.6775 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0067/0.7392, allocations: 4.475 MB / 0.6819 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.7403, allocations: 1.387 MB / 0.6832 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.7406, allocations: 107.4 kB / 0.6833 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.7406, allocations: 0 / 0.6833 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of Templates: time 0.2783/1.019, allocations: 51.96 MB / 0.7341 GB, free: 200 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 -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