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.001306/0.001306, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.8 MB, free: 10.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2636/0.2636, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 75.97 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1208, allocations: 62.44 MB / 480 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.3279/0.4487, allocations: 56.99 MB / 0.5244 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03741/0.4862, allocations: 30.74 MB / 0.5544 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.4881, allocations: 29.31 kB / 0.5545 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.4903, allocations: 0.6702 MB / 0.5551 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02087/0.5112, allocations: 5.747 MB / 0.5607 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01413/0.5254, allocations: 3.894 MB / 0.5645 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004641/0.53, allocations: 3.054 MB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.5313, allocations: 0.8128 MB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01494/0.5463, allocations: 6.33 MB / 0.5745 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01633/0.5627, allocations: 7.439 MB / 0.5818 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005262/0.5632, allocations: 116 kB / 0.5819 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02347/0.5867, allocations: 8.222 MB / 0.5899 GB, free: 7.141 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009793/0.5878, allocations: 402.8 kB / 0.5903 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.589, allocations: 0.6884 MB / 0.591 GB, free: 6.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01922/0.6083, allocations: 6.299 MB / 0.5971 GB, free: 15.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.6083, allocations: 0 / 0.5971 GB, free: 15.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6084, allocations: 0 / 0.5971 GB, free: 15.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.6084, allocations: 0 / 0.5971 GB, free: 15.74 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.006336/0.6147, allocations: 2.253 MB / 0.5993 GB, free: 13.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.6148, allocations: 9.109 kB / 0.5993 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/0.6195, allocations: 0.6239 MB / 0.5999 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.6209, allocations: 0.7721 MB / 0.6007 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002271/0.6211, allocations: 209.4 kB / 0.6009 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.6213, allocations: 100.4 kB / 0.601 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003931/0.6253, allocations: 1.826 MB / 0.6028 GB, free: 9.703 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.6253, allocations: 7.938 kB / 0.6028 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.6254, allocations: 47.98 kB / 0.6028 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/0.6255, allocations: 42 kB / 0.6029 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00389/0.6294, allocations: 1.643 MB / 0.6045 GB, free: 7.961 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.009945/0.6394, allocations: 8.601 MB / 0.6129 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002989/0.6424, allocations: 0.9922 MB / 0.6138 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007872/0.6432, allocations: 418.3 kB / 0.6142 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07937/0.7226, allocations: 27.5 MB / 0.6411 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.307e-05/0.7227, allocations: 47.12 kB / 0.6411 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009901/0.7237, allocations: 90.95 kB / 0.6412 GB, free: 13.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 5.04e-06/0.7237, allocations: 0 / 0.6412 GB, free: 13.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.01996/0.7437, allocations: 3.454 MB / 0.6446 GB, free: 9.918 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.7439, allocations: 111.5 kB / 0.6447 GB, free: 9.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.7459, allocations: 0.8449 MB / 0.6455 GB, free: 8.934 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.7461, allocations: 45.64 kB / 0.6456 GB, free: 8.883 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007125/0.7468, allocations: 0.5756 MB / 0.6461 GB, free: 8.297 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004556/0.7473, allocations: 280.1 kB / 0.6464 GB, free: 8.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005811/0.7479, allocations: 266.6 kB / 0.6466 GB, free: 7.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00031/0.7482, allocations: 406.7 kB / 0.647 GB, free: 7.348 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.7499, allocations: 434.3 kB / 0.6474 GB, free: 6.922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/0.7523, allocations: 0.9969 MB / 0.6484 GB, free: 5.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004515/0.7568, allocations: 1.494 MB / 0.6499 GB, free: 3.895 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.7569, allocations: 4 kB / 0.6499 GB, free: 3.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00642/0.7633, allocations: 1.728 MB / 0.6516 GB, free: 2.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.7634, allocations: 12 kB / 0.6516 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.011e-05/0.7634, allocations: 20 kB / 0.6516 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004932/0.7684, allocations: 0.5996 MB / 0.6522 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.7699, allocations: 251.6 kB / 0.6524 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004124/0.774, allocations: 1.82 MB / 0.6542 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.7758, allocations: 63.97 kB / 0.6543 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/0.7761, allocations: 84.06 kB / 0.6543 GB, free: 15.25 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.0009636/0.777, allocations: 339.8 kB / 0.6547 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005611/0.7776, allocations: 106.7 kB / 0.6548 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/0.7883, allocations: 4.448 MB / 0.6591 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.479e-05/0.7884, allocations: 63.84 kB / 0.6592 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.7885, allocations: 0 / 0.6592 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-05/0.7885, allocations: 7.969 kB / 0.6592 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.8025, allocations: 6.266 MB / 0.6653 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.8025, allocations: 0 / 0.6653 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009506/0.8035, allocations: 151.8 kB / 0.6654 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002423/0.8059, allocations: 0.5382 MB / 0.666 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.8061, allocations: 31.92 kB / 0.666 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/0.8088, allocations: 1.784 MB / 0.6677 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.8088, allocations: 0 / 0.6677 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008799/0.8176, allocations: 3.947 MB / 0.6716 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.8188, allocations: 366.2 kB / 0.6719 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000387/0.8192, allocations: 35.69 kB / 0.672 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.8203, allocations: 39.97 kB / 0.672 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.8205, allocations: 76.89 kB / 0.6721 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.8206, allocations: 35.98 kB / 0.6721 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001419/0.822, allocations: 0.6666 MB / 0.6728 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.8221, allocations: 0 / 0.6728 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006318/0.8284, allocations: 1.448 MB / 0.6742 GB, free: 10.62 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.009932/0.8384, allocations: 1.609 MB / 0.6758 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00868/0.8471, allocations: 1.796 MB / 0.6775 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/0.8471, allocations: 4 kB / 0.6775 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002855/0.85, allocations: 1.208 MB / 0.6787 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004834/0.8549, allocations: 0.5403 MB / 0.6792 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008864/0.8637, allocations: 3.646 MB / 0.6828 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.8653, allocations: 1.383 MB / 0.6841 GB, free: 392 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002196/0.8675, allocations: 0.5997 MB / 0.6847 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.8679, allocations: 99.36 kB / 0.6848 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.8679, allocations: 0 / 0.6848 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of Templates: time 0.3379/1.206, allocations: 60.15 MB / 0.7436 GB, free: 196.2 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumesPressureStates/TestMixingVolumesPressureStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches