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.001488/0.001488, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 75.89 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3849, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.05507/0.44, allocations: 57.02 MB / 0.5873 GB, free: 8.566 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03495/0.475, allocations: 30.75 MB / 0.6174 GB, free: 9.719 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.4767, allocations: 31.81 kB / 0.6174 GB, free: 9.688 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.4788, allocations: 0.6639 MB / 0.618 GB, free: 9.02 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01759/0.4964, allocations: 5.744 MB / 0.6236 GB, free: 3.273 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0112/0.5077, allocations: 3.872 MB / 0.6274 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00457/0.5122, allocations: 3.062 MB / 0.6304 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.5136, allocations: 0.8131 MB / 0.6312 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01482/0.5284, allocations: 6.357 MB / 0.6374 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01624/0.5447, allocations: 7.436 MB / 0.6447 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004841/0.5453, allocations: 116 kB / 0.6448 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01818/0.5635, allocations: 8.401 MB / 0.653 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006859/0.5642, allocations: 406.8 kB / 0.6534 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.5653, allocations: 0.6767 MB / 0.654 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01708/0.5824, allocations: 6.315 MB / 0.6602 GB, free: 13.59 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5824, allocations: 0 / 0.6602 GB, free: 13.59 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5824, allocations: 0 / 0.6602 GB, free: 13.59 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 2.396e-05/0.5825, allocations: 0 / 0.6602 GB, free: 13.59 MB / 0.5138 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.006376/0.5888, allocations: 2.257 MB / 0.6624 GB, free: 11.27 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5889, allocations: 9.109 kB / 0.6624 GB, free: 11.27 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004642/0.5935, allocations: 0.6161 MB / 0.663 GB, free: 10.65 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.5953, allocations: 0.815 MB / 0.6638 GB, free: 9.793 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.5955, allocations: 209.4 kB / 0.664 GB, free: 9.566 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.5957, allocations: 108 kB / 0.6641 GB, free: 9.461 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/0.5996, allocations: 1.822 MB / 0.6659 GB, free: 7.504 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.5997, allocations: 7.938 kB / 0.6659 GB, free: 7.496 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.5998, allocations: 44 kB / 0.6659 GB, free: 7.453 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-05/0.5998, allocations: 38 kB / 0.666 GB, free: 7.414 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003879/0.6037, allocations: 1.647 MB / 0.6676 GB, free: 5.766 MB / 0.5138 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.00955/0.6133, allocations: 8.575 MB / 0.676 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002927/0.6162, allocations: 0.9889 MB / 0.6769 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007795/0.617, allocations: 418.3 kB / 0.6773 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04386/0.6609, allocations: 27.54 MB / 0.7042 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.412e-05/0.661, allocations: 51.11 kB / 0.7043 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007063/0.6617, allocations: 82.97 kB / 0.7044 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 3.897e-06/0.6618, allocations: 0 / 0.7044 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.01046/0.6722, allocations: 3.454 MB / 0.7077 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.6723, allocations: 115.5 kB / 0.7078 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.6734, allocations: 0.8603 MB / 0.7087 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.6735, allocations: 41.7 kB / 0.7087 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.6739, allocations: 0.564 MB / 0.7093 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.6741, allocations: 280.1 kB / 0.7095 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003237/0.6744, allocations: 262.6 kB / 0.7098 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.6746, allocations: 414.7 kB / 0.7102 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000829/0.6755, allocations: 422.4 kB / 0.7106 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.6767, allocations: 1.001 MB / 0.7116 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.6789, allocations: 1.494 MB / 0.713 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.679, allocations: 4 kB / 0.713 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003279/0.6822, allocations: 1.74 MB / 0.7147 GB, free: 15.92 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.6823, allocations: 12 kB / 0.7147 GB, free: 15.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.6823, allocations: 23.94 kB / 0.7148 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/0.6848, allocations: 0.5835 MB / 0.7153 GB, free: 15.29 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/0.6855, allocations: 247.6 kB / 0.7156 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.6877, allocations: 1.835 MB / 0.7174 GB, free: 13.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009908/0.6887, allocations: 63.97 kB / 0.7174 GB, free: 13.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.6889, allocations: 75.98 kB / 0.7175 GB, free: 13.03 MB / 0.5763 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.0005957/0.6895, allocations: 335.8 kB / 0.7178 GB, free: 12.69 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.6897, allocations: 110.8 kB / 0.7179 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005264/0.695, allocations: 4.442 MB / 0.7223 GB, free: 8.098 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-05/0.695, allocations: 59.91 kB / 0.7223 GB, free: 8.039 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.695, allocations: 4 kB / 0.7223 GB, free: 8.035 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.6951, allocations: 3.984 kB / 0.7223 GB, free: 8.031 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007164/0.7022, allocations: 6.259 MB / 0.7284 GB, free: 1.668 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.7023, allocations: 4 kB / 0.7284 GB, free: 1.664 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/0.7028, allocations: 151.8 kB / 0.7286 GB, free: 1.516 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.7043, allocations: 0.5266 MB / 0.7291 GB, free: 0.9844 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/0.7043, allocations: 24 kB / 0.7291 GB, free: 0.9609 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3323/1.037, allocations: 1.789 MB / 0.7309 GB, free: 189.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.037, allocations: 0.5938 kB / 0.7309 GB, free: 189.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005948/1.043, allocations: 3.947 MB / 0.7347 GB, free: 188 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006405/1.043, allocations: 357.6 kB / 0.7351 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/1.043, allocations: 37.39 kB / 0.7351 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/1.044, allocations: 43.81 kB / 0.7351 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/1.044, allocations: 73.69 kB / 0.7352 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.514e-05/1.044, allocations: 35.53 kB / 0.7352 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0009273/1.045, allocations: 0.6643 MB / 0.7359 GB, free: 187.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/1.045, allocations: 2.531 kB / 0.7359 GB, free: 187.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004858/1.05, allocations: 1.455 MB / 0.7373 GB, free: 187.5 MB / 0.5763 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.005809/1.056, allocations: 1.593 MB / 0.7389 GB, free: 187.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.003163/1.059, allocations: 1.671 MB / 0.7405 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.059, allocations: 0 / 0.7405 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/1.061, allocations: 1.215 MB / 0.7417 GB, free: 186.2 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/1.063, allocations: 0.5504 MB / 0.7422 GB, free: 186 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/1.068, allocations: 3.654 MB / 0.7458 GB, free: 184.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/1.068, allocations: 1.379 MB / 0.7471 GB, free: 183.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/1.069, allocations: 113 kB / 0.7472 GB, free: 183.6 MB / 0.5763 GB Notification: Performance of SimCode: time 1.092e-06/1.069, allocations: 1.375 kB / 0.7472 GB, free: 183.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.06214/1.131, allocations: 51.97 MB / 0.798 GB, free: 133.3 MB / 0.5763 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