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.001027/0.001027, allocations: 94.47 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00172/0.00172, allocations: 201.8 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.8 MB / 246.8 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.2109/0.2109, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002553/0.0002553, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1059, allocations: 63.55 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.261/0.367, allocations: 57.3 MB / 0.5277 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03279/0.3998, allocations: 31.52 MB / 0.5585 GB, free: 8.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.4013, allocations: 35.12 kB / 0.5585 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.4032, allocations: 0.5971 MB / 0.5591 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0156/0.4189, allocations: 4.743 MB / 0.5637 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01097/0.4299, allocations: 3.37 MB / 0.567 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004952/0.4348, allocations: 4.193 MB / 0.5711 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.4361, allocations: 0.7095 MB / 0.5718 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01286/0.449, allocations: 6.155 MB / 0.5778 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01441/0.4635, allocations: 7.462 MB / 0.5851 GB, free: 272 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003824/0.4639, allocations: 60 kB / 0.5852 GB, free: 212 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01795/0.4818, allocations: 8.257 MB / 0.5932 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006865/0.4826, allocations: 358.8 kB / 0.5936 GB, free: 7.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.4836, allocations: 0.6549 MB / 0.5942 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01582/0.4994, allocations: 6.232 MB / 0.6003 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4995, allocations: 4 kB / 0.6003 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4995, allocations: 4 kB / 0.6003 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.4995, allocations: 0 / 0.6003 GB, free: 0.6719 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.00552/0.5051, allocations: 2.015 MB / 0.6023 GB, free: 14.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.5051, allocations: 9.109 kB / 0.6023 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004795/0.5099, allocations: 0.6434 MB / 0.6029 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.5113, allocations: 0.7721 MB / 0.6037 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.5115, allocations: 209.4 kB / 0.6039 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.5117, allocations: 100.4 kB / 0.604 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004295/0.516, allocations: 1.861 MB / 0.6058 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/0.516, allocations: 4 kB / 0.6058 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.5162, allocations: 51.92 kB / 0.6058 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.579e-05/0.5162, allocations: 42 kB / 0.6059 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004398/0.5206, allocations: 1.694 MB / 0.6075 GB, free: 9.023 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.01025/0.5309, allocations: 8.598 MB / 0.6159 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/0.5341, allocations: 1.034 MB / 0.6169 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000903/0.535, allocations: 442.2 kB / 0.6174 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04856/0.5836, allocations: 27.83 MB / 0.6445 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.366e-05/0.5837, allocations: 43.12 kB / 0.6446 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007338/0.5844, allocations: 106.9 kB / 0.6447 GB, free: 14.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 4.128e-06/0.5844, allocations: 0 / 0.6447 GB, free: 14.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.0111/0.5955, allocations: 3.583 MB / 0.6482 GB, free: 10.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.5956, allocations: 111.5 kB / 0.6483 GB, free: 10.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.5968, allocations: 0.8488 MB / 0.6491 GB, free: 9.449 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.524e-05/0.5969, allocations: 41.7 kB / 0.6492 GB, free: 9.402 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.5974, allocations: 0.5794 MB / 0.6497 GB, free: 8.812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.5976, allocations: 276.1 kB / 0.65 GB, free: 8.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.5978, allocations: 117.6 kB / 0.6501 GB, free: 8.418 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.598, allocations: 406.7 kB / 0.6505 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009893/0.599, allocations: 446.4 kB / 0.6509 GB, free: 7.578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.6003, allocations: 1.009 MB / 0.6519 GB, free: 6.293 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002431/0.6028, allocations: 1.54 MB / 0.6534 GB, free: 4.488 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.6028, allocations: 4 kB / 0.6534 GB, free: 4.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003508/0.6063, allocations: 1.767 MB / 0.6551 GB, free: 2.703 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.6064, allocations: 12 kB / 0.6551 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.6064, allocations: 20 kB / 0.6552 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002837/0.6093, allocations: 0.6228 MB / 0.6558 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007733/0.61, allocations: 259.6 kB / 0.656 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.6124, allocations: 1.85 MB / 0.6578 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.6136, allocations: 123.9 kB / 0.6579 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.6137, allocations: 75.98 kB / 0.658 GB, free: 15.69 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.0005694/0.6143, allocations: 327.5 kB / 0.6583 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.6145, allocations: 114.6 kB / 0.6584 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006395/0.6209, allocations: 4.512 MB / 0.6628 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.076e-05/0.621, allocations: 63.83 kB / 0.6629 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.621, allocations: 7.938 kB / 0.6629 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.6211, allocations: 3.984 kB / 0.6629 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008833/0.6299, allocations: 6.309 MB / 0.6691 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.6299, allocations: 0 / 0.6691 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006721/0.6306, allocations: 167.8 kB / 0.6692 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002001/0.6326, allocations: 0.6788 MB / 0.6699 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.6327, allocations: 20 kB / 0.6699 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.6346, allocations: 1.799 MB / 0.6717 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6346, allocations: 0 / 0.6717 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005829/0.6404, allocations: 3.994 MB / 0.6756 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007143/0.6412, allocations: 417.9 kB / 0.676 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.6414, allocations: 23.98 kB / 0.676 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000853/0.6422, allocations: 87.78 kB / 0.6761 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.6424, allocations: 80.83 kB / 0.6762 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.343e-05/0.6425, allocations: 35.98 kB / 0.6762 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001026/0.6436, allocations: 0.6627 MB / 0.6768 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6436, allocations: 0 / 0.6768 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004421/0.648, allocations: 1.448 MB / 0.6783 GB, free: 10.67 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.006039/0.6541, allocations: 1.6 MB / 0.6798 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003378/0.6575, allocations: 1.695 MB / 0.6815 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.6575, allocations: 4 kB / 0.6815 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.6594, allocations: 1.227 MB / 0.6827 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/0.6624, allocations: 0.5081 MB / 0.6832 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006134/0.6685, allocations: 4.536 MB / 0.6876 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.6696, allocations: 1.387 MB / 0.689 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001542/0.6712, allocations: 0.593 MB / 0.6895 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.6715, allocations: 99.42 kB / 0.6896 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/0.6715, allocations: 4 kB / 0.6896 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of Templates: time 0.3035/0.9749, allocations: 58.56 MB / 0.7468 GB, free: 163.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/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