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.001555/0.001555, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001978/0.001978, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.007/2.007, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.331/0.331, allocations: 46.1 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 79.88 kB / 417.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1537, allocations: 62.44 MB / 480.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.3721/0.5259, allocations: 57.55 MB / 0.5251 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05595/0.5819, allocations: 30.87 MB / 0.5552 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.5843, allocations: 39.5 kB / 0.5553 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003306/0.5877, allocations: 0.6042 MB / 0.5559 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02818/0.6159, allocations: 5.128 MB / 0.5609 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01788/0.6338, allocations: 3.553 MB / 0.5644 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006141/0.64, allocations: 3.066 MB / 0.5673 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/0.6423, allocations: 0.8195 MB / 0.5681 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02049/0.6628, allocations: 6.319 MB / 0.5743 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02097/0.6839, allocations: 7.485 MB / 0.5816 GB, free: 264 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005162/0.6844, allocations: 120 kB / 0.5817 GB, free: 144 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02419/0.7086, allocations: 8.292 MB / 0.5898 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000951/0.7096, allocations: 410.8 kB / 0.5902 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001515/0.7112, allocations: 0.6923 MB / 0.5909 GB, free: 6.742 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.7235, allocations: 4.425 MB / 0.5952 GB, free: 2.309 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.7235, allocations: 0 / 0.5952 GB, free: 2.309 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7235, allocations: 0 / 0.5952 GB, free: 2.309 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.067e-05/0.7236, allocations: 0 / 0.5952 GB, free: 2.309 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.008748/0.7324, allocations: 2.253 MB / 0.5974 GB, free: 4 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.493e-05/0.7325, allocations: 13.09 kB / 0.5974 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008844/0.7413, allocations: 0.6316 MB / 0.5981 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.7435, allocations: 0.7643 MB / 0.5988 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/0.7438, allocations: 209.3 kB / 0.599 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002538/0.744, allocations: 108.3 kB / 0.5991 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005878/0.7499, allocations: 1.814 MB / 0.6009 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/0.75, allocations: 7.938 kB / 0.6009 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/0.7502, allocations: 48 kB / 0.6009 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.652e-05/0.7503, allocations: 53.97 kB / 0.601 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005794/0.7561, allocations: 1.635 MB / 0.6026 GB, free: 10.52 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.01327/0.7694, allocations: 8.566 MB / 0.6109 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004215/0.7737, allocations: 0.9869 MB / 0.6119 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.7749, allocations: 422.3 kB / 0.6123 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06892/0.8438, allocations: 27.49 MB / 0.6392 GB, free: 204 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.594e-05/0.844, allocations: 43.06 kB / 0.6392 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008413/0.8448, allocations: 102.9 kB / 0.6393 GB, free: 48 kB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 5.911e-06/0.8448, allocations: 0 / 0.6393 GB, free: 48 kB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.01531/0.8602, allocations: 3.466 MB / 0.6427 GB, free: 12.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.8603, allocations: 111.5 kB / 0.6428 GB, free: 12.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.8619, allocations: 0.8565 MB / 0.6436 GB, free: 11.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.8621, allocations: 41.7 kB / 0.6437 GB, free: 11.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005342/0.8626, allocations: 0.564 MB / 0.6442 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/0.8629, allocations: 280.1 kB / 0.6445 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005475/0.8635, allocations: 270.5 kB / 0.6447 GB, free: 10.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002512/0.8638, allocations: 414.7 kB / 0.6451 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.8654, allocations: 426.3 kB / 0.6455 GB, free: 9.508 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/0.8677, allocations: 1.001 MB / 0.6465 GB, free: 8.234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004079/0.8718, allocations: 1.494 MB / 0.648 GB, free: 6.477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/0.8719, allocations: 4 kB / 0.648 GB, free: 6.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.006246/0.8781, allocations: 1.732 MB / 0.6497 GB, free: 4.727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.8782, allocations: 14.34 kB / 0.6497 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-05/0.8783, allocations: 20 kB / 0.6497 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00486/0.8832, allocations: 0.5996 MB / 0.6503 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.8847, allocations: 247.6 kB / 0.6505 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003905/0.8886, allocations: 1.823 MB / 0.6523 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.8907, allocations: 115.9 kB / 0.6524 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002567/0.891, allocations: 75.98 kB / 0.6525 GB, free: 1.785 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.0009708/0.892, allocations: 343.5 kB / 0.6528 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/0.8925, allocations: 110.6 kB / 0.6529 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00994/0.9025, allocations: 4.452 MB / 0.6573 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.814e-05/0.9027, allocations: 67.83 kB / 0.6573 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.9027, allocations: 0 / 0.6573 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.9027, allocations: 3.984 kB / 0.6573 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/0.9153, allocations: 6.265 MB / 0.6635 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.9154, allocations: 0 / 0.6635 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008325/0.9162, allocations: 147.8 kB / 0.6636 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00214/0.9184, allocations: 0.5382 MB / 0.6641 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.9185, allocations: 23.98 kB / 0.6641 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.9207, allocations: 1.799 MB / 0.6659 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.9207, allocations: 4 kB / 0.6659 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008582/0.9293, allocations: 3.943 MB / 0.6698 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009888/0.9303, allocations: 358.2 kB / 0.6701 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003795/0.9307, allocations: 35.75 kB / 0.6701 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.9322, allocations: 79.78 kB / 0.6702 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/0.9325, allocations: 72.89 kB / 0.6703 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.9326, allocations: 35.98 kB / 0.6703 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001653/0.9343, allocations: 0.6588 MB / 0.671 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9343, allocations: 4 kB / 0.671 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006302/0.9406, allocations: 1.456 MB / 0.6724 GB, free: 13.11 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.008203/0.9489, allocations: 1.592 MB / 0.6739 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006745/0.9557, allocations: 1.8 MB / 0.6757 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.9557, allocations: 0 / 0.6757 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002525/0.9582, allocations: 1.212 MB / 0.6769 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/0.9622, allocations: 0.5413 MB / 0.6774 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008098/0.9703, allocations: 4.477 MB / 0.6818 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.9718, allocations: 1.383 MB / 0.6831 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/0.9722, allocations: 111.4 kB / 0.6832 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of SimCode: time 1.122e-06/0.9722, allocations: 4 kB / 0.6832 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of Templates: time 0.3489/1.321, allocations: 51.89 MB / 0.7339 GB, free: 201.1 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