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.001268/0.001268, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001376, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 46.1 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 79.56 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1318, allocations: 62.45 MB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.3209/0.4527, allocations: 56.99 MB / 0.5251 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04037/0.4932, allocations: 30.74 MB / 0.5551 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.4953, allocations: 30.78 kB / 0.5551 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002649/0.498, allocations: 0.6702 MB / 0.5558 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01979/0.5179, allocations: 5.739 MB / 0.5614 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0128/0.5307, allocations: 3.887 MB / 0.5652 GB, free: 36 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005084/0.5358, allocations: 3.062 MB / 0.5682 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/0.5378, allocations: 0.8197 MB / 0.569 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01767/0.5555, allocations: 6.322 MB / 0.5752 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01824/0.5738, allocations: 7.443 MB / 0.5824 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006872/0.5745, allocations: 116 kB / 0.5825 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02092/0.5955, allocations: 8.214 MB / 0.5906 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.5966, allocations: 410.8 kB / 0.591 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.5985, allocations: 0.6806 MB / 0.5916 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02069/0.6192, allocations: 6.307 MB / 0.5978 GB, free: 15.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.6193, allocations: 0 / 0.5978 GB, free: 15.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.6193, allocations: 0 / 0.5978 GB, free: 15.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.954e-05/0.6193, allocations: 0 / 0.5978 GB, free: 15.69 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.007389/0.6267, allocations: 2.253 MB / 0.6 GB, free: 13.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.6268, allocations: 9.109 kB / 0.6 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005215/0.632, allocations: 0.6239 MB / 0.6006 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.6338, allocations: 0.776 MB / 0.6014 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.6341, allocations: 213.3 kB / 0.6016 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003312/0.6345, allocations: 100.4 kB / 0.6017 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004682/0.6391, allocations: 1.818 MB / 0.6034 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.6392, allocations: 3.938 kB / 0.6034 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.6394, allocations: 48 kB / 0.6035 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.221e-05/0.6395, allocations: 49.98 kB / 0.6035 GB, free: 9.555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004455/0.6439, allocations: 1.635 MB / 0.6051 GB, free: 7.914 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.01109/0.655, allocations: 8.609 MB / 0.6135 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/0.6582, allocations: 0.9924 MB / 0.6145 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008884/0.6592, allocations: 418.3 kB / 0.6149 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04919/0.7084, allocations: 27.5 MB / 0.6417 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.206e-05/0.7085, allocations: 47.12 kB / 0.6418 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007532/0.7092, allocations: 82.97 kB / 0.6419 GB, free: 13.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 6.031e-06/0.7093, allocations: 7.938 kB / 0.6419 GB, free: 13.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.0114/0.7207, allocations: 3.454 MB / 0.6453 GB, free: 9.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.7208, allocations: 111.5 kB / 0.6454 GB, free: 9.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.722, allocations: 0.8488 MB / 0.6462 GB, free: 8.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.477e-05/0.7221, allocations: 41.7 kB / 0.6462 GB, free: 8.828 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/0.7226, allocations: 0.5678 MB / 0.6468 GB, free: 8.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/0.7229, allocations: 288 kB / 0.6471 GB, free: 7.965 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004168/0.7233, allocations: 266.6 kB / 0.6473 GB, free: 7.699 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.7235, allocations: 406.7 kB / 0.6477 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.7245, allocations: 434.3 kB / 0.6481 GB, free: 6.867 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.7259, allocations: 0.9969 MB / 0.6491 GB, free: 5.602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/0.7284, allocations: 1.494 MB / 0.6505 GB, free: 3.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.7284, allocations: 4 kB / 0.6505 GB, free: 3.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003733/0.7322, allocations: 1.728 MB / 0.6522 GB, free: 2.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.7322, allocations: 14.66 kB / 0.6523 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/0.7322, allocations: 20 kB / 0.6523 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/0.7349, allocations: 0.5918 MB / 0.6528 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/0.7357, allocations: 251.6 kB / 0.6531 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.7381, allocations: 1.828 MB / 0.6549 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.7392, allocations: 64.09 kB / 0.6549 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.7394, allocations: 79.98 kB / 0.655 GB, free: 15.2 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.0006427/0.74, allocations: 339.8 kB / 0.6553 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.7403, allocations: 110.8 kB / 0.6554 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006105/0.7464, allocations: 4.444 MB / 0.6598 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.262e-05/0.7465, allocations: 63.84 kB / 0.6598 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.7465, allocations: 0 / 0.6598 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.7466, allocations: 3.984 kB / 0.6598 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007935/0.7545, allocations: 6.273 MB / 0.666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.465e-06/0.7545, allocations: 0 / 0.666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.7551, allocations: 151.8 kB / 0.6661 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/0.7567, allocations: 0.5451 MB / 0.6666 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.05e-05/0.7568, allocations: 23.98 kB / 0.6667 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.7585, allocations: 1.78 MB / 0.6684 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7585, allocations: 0 / 0.6684 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005652/0.7641, allocations: 3.951 MB / 0.6723 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008711/0.765, allocations: 362.3 kB / 0.6726 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/0.7654, allocations: 35.69 kB / 0.6726 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009206/0.7664, allocations: 47.95 kB / 0.6727 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.7666, allocations: 72.89 kB / 0.6728 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.99e-05/0.7667, allocations: 35.98 kB / 0.6728 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001211/0.7679, allocations: 0.6666 MB / 0.6734 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7679, allocations: 0 / 0.6734 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004959/0.7729, allocations: 1.448 MB / 0.6749 GB, free: 10.57 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.007159/0.7801, allocations: 1.604 MB / 0.6764 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005387/0.7855, allocations: 1.8 MB / 0.6782 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.7855, allocations: 0 / 0.6782 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002003/0.7875, allocations: 1.208 MB / 0.6794 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003349/0.7909, allocations: 0.5551 MB / 0.6799 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006611/0.7975, allocations: 3.694 MB / 0.6835 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/0.7988, allocations: 1.387 MB / 0.6849 GB, free: 276 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003515/0.7992, allocations: 107.4 kB / 0.685 GB, free: 172 kB / 0.5137 GB Notification: Performance of SimCode: time 2.725e-06/0.7992, allocations: 0 / 0.685 GB, free: 172 kB / 0.5137 GB Notification: Performance of Templates: time 0.2926/1.092, allocations: 51.91 MB / 0.7357 GB, free: 198.9 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