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.001484/0.001483, allocations: 95.48 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001903/0.001903, allocations: 200.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2009/0.2009, allocations: 45.91 MB / 344 MB, free: 12.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002607/0.0002607, allocations: 4 kB / 417.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1197, allocations: 63.47 MB / 481.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.3025/0.4222, allocations: 48.02 MB / 0.517 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02792/0.4502, allocations: 26.14 MB / 0.5425 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.4518, allocations: 35.53 kB / 0.5426 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.4534, allocations: 0.5725 MB / 0.5431 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01881/0.4722, allocations: 4.562 MB / 0.5476 GB, free: 400 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01122/0.4834, allocations: 3.198 MB / 0.5507 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003185/0.4866, allocations: 1.811 MB / 0.5525 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009633/0.4876, allocations: 0.6867 MB / 0.5531 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01533/0.503, allocations: 9.549 MB / 0.5625 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01863/0.5216, allocations: 11.93 MB / 0.5741 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003578/0.522, allocations: 64 kB / 0.5742 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02108/0.5431, allocations: 8.124 MB / 0.5821 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008292/0.544, allocations: 334.9 kB / 0.5824 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008614/0.5449, allocations: 265.1 kB / 0.5827 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.5569, allocations: 4.295 MB / 0.5869 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.557, allocations: 0 / 0.5869 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.557, allocations: 0 / 0.5869 GB, free: 13.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.557, allocations: 0 / 0.5869 GB, free: 13.64 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.007055/0.5641, allocations: 2.016 MB / 0.5888 GB, free: 11.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.5642, allocations: 16.55 kB / 0.5889 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00473/0.5689, allocations: 0.6425 MB / 0.5895 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.5704, allocations: 0.7518 MB / 0.5902 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.5706, allocations: 212.7 kB / 0.5904 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.5707, allocations: 96 kB / 0.5905 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003989/0.5747, allocations: 1.83 MB / 0.5923 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.5748, allocations: 11.84 kB / 0.5923 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.5749, allocations: 48 kB / 0.5924 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.171e-05/0.575, allocations: 53.94 kB / 0.5924 GB, free: 7.715 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003954/0.579, allocations: 1.678 MB / 0.5941 GB, free: 6.035 MB / 430.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.01018/0.5891, allocations: 8.599 MB / 0.6024 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/0.5926, allocations: 1.032 MB / 0.6035 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04782/0.6404, allocations: 27.83 MB / 0.6306 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.6405, allocations: 43.08 kB / 0.6307 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006547/0.6411, allocations: 106.9 kB / 0.6308 GB, free: 11.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 2.595e-06/0.6411, allocations: 0 / 0.6308 GB, free: 11.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.01029/0.6514, allocations: 3.572 MB / 0.6343 GB, free: 7.895 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.6516, allocations: 115.5 kB / 0.6344 GB, free: 7.758 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.6527, allocations: 0.8525 MB / 0.6352 GB, free: 6.898 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.447e-05/0.6528, allocations: 41.7 kB / 0.6352 GB, free: 6.852 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006239/0.6534, allocations: 0.5601 MB / 0.6358 GB, free: 6.281 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.6537, allocations: 280.1 kB / 0.6361 GB, free: 6.004 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.6537, allocations: 28 kB / 0.6361 GB, free: 5.977 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.6539, allocations: 410.7 kB / 0.6365 GB, free: 5.566 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000916/0.6549, allocations: 446.3 kB / 0.6369 GB, free: 5.133 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.6562, allocations: 0.9931 MB / 0.6379 GB, free: 3.863 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.6573, allocations: 0.5925 MB / 0.6385 GB, free: 3.277 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/0.6573, allocations: 4 kB / 0.6385 GB, free: 3.273 MB / 478.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00349/0.6608, allocations: 1.755 MB / 0.6402 GB, free: 1.504 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.6609, allocations: 16 kB / 0.6402 GB, free: 1.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.6609, allocations: 16.84 kB / 0.6402 GB, free: 1.473 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002682/0.6636, allocations: 0.63 MB / 0.6408 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/0.6643, allocations: 247.6 kB / 0.6411 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.6667, allocations: 1.851 MB / 0.6429 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.6679, allocations: 127.8 kB / 0.643 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.668, allocations: 79.98 kB / 0.6431 GB, free: 14.48 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,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.0005695/0.6686, allocations: 335.5 kB / 0.6434 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.6688, allocations: 106.7 kB / 0.6435 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005865/0.6747, allocations: 4.52 MB / 0.6479 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.926e-05/0.6747, allocations: 59.91 kB / 0.648 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6748, allocations: 3.953 kB / 0.648 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.6748, allocations: 3.984 kB / 0.648 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007982/0.6828, allocations: 6.313 MB / 0.6541 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.6828, allocations: 3.953 kB / 0.6541 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006169/0.6834, allocations: 171.8 kB / 0.6543 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/0.6852, allocations: 0.6723 MB / 0.6549 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/0.6853, allocations: 32 kB / 0.655 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.687, allocations: 1.784 MB / 0.6567 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.687, allocations: 4.062 kB / 0.6567 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005968/0.693, allocations: 3.986 MB / 0.6606 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.6941, allocations: 425.8 kB / 0.661 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.6943, allocations: 20 kB / 0.661 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/0.695, allocations: 87.78 kB / 0.6611 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.6952, allocations: 72.84 kB / 0.6612 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.6953, allocations: 43.91 kB / 0.6612 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009546/0.6962, allocations: 0.6549 MB / 0.6619 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6962, allocations: 0 / 0.6619 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004698/0.7009, allocations: 1.46 MB / 0.6633 GB, free: 9.449 MB / 0.4981 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 (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.005616/0.7066, allocations: 1.594 MB / 0.6649 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003133/0.7097, allocations: 1.691 MB / 0.6665 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.7097, allocations: 7.938 kB / 0.6665 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.7115, allocations: 1.224 MB / 0.6677 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/0.7143, allocations: 0.4941 MB / 0.6682 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/0.72, allocations: 4.442 MB / 0.6725 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008988/0.7209, allocations: 1.418 MB / 0.6739 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001391/0.7223, allocations: 0.5932 MB / 0.6745 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.7225, allocations: 95.42 kB / 0.6746 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of SimCode: time 1.924e-06/0.7225, allocations: 4 kB / 0.6746 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of Templates: time 0.284/1.007, allocations: 58.36 MB / 0.7316 GB, free: 180.6 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumesPressureStates/TestMixingVolumesPressureStates.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches