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.0008609/0.0008606, allocations: 97.12 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001041/0.001041, allocations: 204.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1998/0.1998, allocations: 46.19 MB / 345.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002722, allocations: 8 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1128, allocations: 63.56 MB / 483.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2886/0.4014, allocations: 57.28 MB / 0.5283 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03598/0.4375, allocations: 31.53 MB / 0.5591 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.4394, allocations: 38.5 kB / 0.5592 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.4416, allocations: 0.5867 MB / 0.5597 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01746/0.4591, allocations: 4.756 MB / 0.5644 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01224/0.4713, allocations: 3.361 MB / 0.5677 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005437/0.4768, allocations: 4.196 MB / 0.5718 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.4786, allocations: 0.7095 MB / 0.5725 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01445/0.493, allocations: 6.159 MB / 0.5785 GB, free: 7.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01484/0.5079, allocations: 7.462 MB / 0.5858 GB, free: 340 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005261/0.5085, allocations: 60 kB / 0.5858 GB, free: 280 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01808/0.5266, allocations: 8.253 MB / 0.5939 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008096/0.5275, allocations: 362.8 kB / 0.5942 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.529, allocations: 0.6549 MB / 0.5949 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009075/0.5381, allocations: 4.377 MB / 0.5991 GB, free: 2.605 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5382, allocations: 0 / 0.5991 GB, free: 2.605 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.5382, allocations: 0 / 0.5991 GB, free: 2.605 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.027e-05/0.5383, allocations: 0 / 0.5991 GB, free: 2.605 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.005947/0.5442, allocations: 2.015 MB / 0.6011 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5443, allocations: 9.109 kB / 0.6011 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004912/0.5492, allocations: 0.6396 MB / 0.6017 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.5509, allocations: 0.7759 MB / 0.6025 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/0.5512, allocations: 213.4 kB / 0.6027 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/0.5515, allocations: 100.4 kB / 0.6028 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004649/0.5561, allocations: 1.853 MB / 0.6046 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/0.5562, allocations: 4 kB / 0.6046 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.5564, allocations: 47.98 kB / 0.6046 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.188e-05/0.5565, allocations: 49.92 kB / 0.6047 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00429/0.5608, allocations: 1.686 MB / 0.6063 GB, free: 10.96 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.01027/0.5711, allocations: 8.602 MB / 0.6147 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.5742, allocations: 1.026 MB / 0.6157 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008736/0.5751, allocations: 442.3 kB / 0.6162 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0467/0.6218, allocations: 27.83 MB / 0.6433 GB, free: 208 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.6219, allocations: 43.12 kB / 0.6434 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007194/0.6226, allocations: 114.9 kB / 0.6435 GB, free: 40 kB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 4.008e-06/0.6227, allocations: 0 / 0.6435 GB, free: 40 kB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.01109/0.6338, allocations: 3.572 MB / 0.647 GB, free: 12.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.6338, allocations: 111.5 kB / 0.6471 GB, free: 12.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.6351, allocations: 0.8527 MB / 0.6479 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.6352, allocations: 41.7 kB / 0.648 GB, free: 11.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004408/0.6357, allocations: 0.5678 MB / 0.6485 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.6359, allocations: 284 kB / 0.6488 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.6361, allocations: 113.7 kB / 0.6489 GB, free: 10.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.6363, allocations: 406.7 kB / 0.6493 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009779/0.6373, allocations: 450.3 kB / 0.6497 GB, free: 9.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.6386, allocations: 1.009 MB / 0.6507 GB, free: 8.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/0.641, allocations: 1.533 MB / 0.6522 GB, free: 6.441 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/0.6411, allocations: 4 kB / 0.6522 GB, free: 6.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003676/0.6448, allocations: 1.771 MB / 0.6539 GB, free: 4.652 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.6448, allocations: 20.25 kB / 0.6539 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.6449, allocations: 16 kB / 0.654 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002862/0.6477, allocations: 0.6227 MB / 0.6546 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/0.6486, allocations: 255.6 kB / 0.6548 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.6509, allocations: 1.85 MB / 0.6566 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.6522, allocations: 127.8 kB / 0.6567 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.6523, allocations: 75.98 kB / 0.6568 GB, free: 1.637 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.0006126/0.653, allocations: 335.5 kB / 0.6571 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.6532, allocations: 110.6 kB / 0.6572 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005957/0.6592, allocations: 4.509 MB / 0.6616 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.714e-05/0.6592, allocations: 63.84 kB / 0.6617 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.6593, allocations: 0 / 0.6617 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.6593, allocations: 7.969 kB / 0.6617 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008045/0.6673, allocations: 6.305 MB / 0.6679 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.6674, allocations: 0 / 0.6679 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006302/0.668, allocations: 171.8 kB / 0.668 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001885/0.6699, allocations: 0.6789 MB / 0.6687 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.919e-05/0.67, allocations: 27.98 kB / 0.6687 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.6716, allocations: 1.795 MB / 0.6705 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6717, allocations: 0 / 0.6705 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00537/0.677, allocations: 3.998 MB / 0.6744 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007297/0.6778, allocations: 421.9 kB / 0.6748 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.678, allocations: 20 kB / 0.6748 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008463/0.6789, allocations: 91.78 kB / 0.6749 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.6791, allocations: 72.88 kB / 0.675 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.492e-05/0.6792, allocations: 35.98 kB / 0.675 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009746/0.6801, allocations: 0.6627 MB / 0.6756 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6801, allocations: 0 / 0.6756 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004238/0.6844, allocations: 1.448 MB / 0.6771 GB, free: 12.61 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.006092/0.6905, allocations: 1.616 MB / 0.6786 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003325/0.6939, allocations: 1.687 MB / 0.6803 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6939, allocations: 0 / 0.6803 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001934/0.6958, allocations: 1.231 MB / 0.6815 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/0.699, allocations: 0.5093 MB / 0.682 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006137/0.7051, allocations: 4.579 MB / 0.6865 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.7062, allocations: 1.383 MB / 0.6878 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.7065, allocations: 103.4 kB / 0.6879 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.7065, allocations: 4 kB / 0.6879 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of Templates: time 0.2681/0.9746, allocations: 51.72 MB / 0.7384 GB, free: 171.8 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/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