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.001779/0.001779, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001937/0.001937, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.203/2.203, allocations: 227.3 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3675/0.3675, allocations: 46.1 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002664/0.002664, allocations: 71.22 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2035, allocations: 62.45 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.5239/0.7275, allocations: 58.37 MB / 0.5257 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.07848/0.806, allocations: 31.99 MB / 0.5569 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003297/0.8094, allocations: 37.53 kB / 0.557 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00413/0.8136, allocations: 0.597 MB / 0.5575 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03376/0.8474, allocations: 4.749 MB / 0.5622 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02285/0.8703, allocations: 3.362 MB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009554/0.8799, allocations: 4.201 MB / 0.5696 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/0.8827, allocations: 0.7118 MB / 0.5703 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02825/0.911, allocations: 6.17 MB / 0.5763 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03128/0.9423, allocations: 7.458 MB / 0.5836 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008175/0.9432, allocations: 64 kB / 0.5836 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03569/0.9789, allocations: 8.261 MB / 0.5917 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.9803, allocations: 358.8 kB / 0.592 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002944/0.9833, allocations: 0.6337 MB / 0.5927 GB, free: 4.879 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01856/1.002, allocations: 4.421 MB / 0.597 GB, free: 460 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/1.002, allocations: 0 / 0.597 GB, free: 460 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.103e-06/1.002, allocations: 0 / 0.597 GB, free: 460 kB / 430.1 MB Notification: Performance of Transformations before backend: time 7.325e-05/1.002, allocations: 0 / 0.597 GB, free: 460 kB / 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.01179/1.014, allocations: 2.253 MB / 0.5992 GB, free: 14.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/1.014, allocations: 9.109 kB / 0.5992 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/1.024, allocations: 0.6355 MB / 0.5998 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/1.027, allocations: 0.7604 MB / 0.6006 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003959/1.028, allocations: 209.4 kB / 0.6008 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005158/1.028, allocations: 104.3 kB / 0.6009 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008768/1.037, allocations: 1.826 MB / 0.6026 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-05/1.037, allocations: 7.844 kB / 0.6026 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003871/1.037, allocations: 51.98 kB / 0.6027 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/1.038, allocations: 41.98 kB / 0.6027 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008319/1.046, allocations: 1.643 MB / 0.6043 GB, free: 8.66 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.0187/1.065, allocations: 8.559 MB / 0.6127 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005743/1.07, allocations: 0.9947 MB / 0.6137 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/1.072, allocations: 418.2 kB / 0.6141 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08575/1.158, allocations: 27.49 MB / 0.6409 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.162e-05/1.158, allocations: 43.12 kB / 0.641 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00128/1.159, allocations: 110.9 kB / 0.6411 GB, free: 14.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 8.035e-06/1.159, allocations: 0 / 0.6411 GB, free: 14.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.02211/1.182, allocations: 3.447 MB / 0.6444 GB, free: 10.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.182, allocations: 115.5 kB / 0.6445 GB, free: 10.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/1.184, allocations: 0.8564 MB / 0.6454 GB, free: 9.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001766/1.184, allocations: 41.7 kB / 0.6454 GB, free: 9.598 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007167/1.185, allocations: 0.5679 MB / 0.646 GB, free: 9.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004659/1.186, allocations: 280.1 kB / 0.6462 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007916/1.186, allocations: 262.6 kB / 0.6465 GB, free: 8.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003287/1.187, allocations: 414.7 kB / 0.6469 GB, free: 8.066 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/1.189, allocations: 430.3 kB / 0.6473 GB, free: 7.645 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/1.191, allocations: 0.993 MB / 0.6483 GB, free: 6.379 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00392/1.195, allocations: 1.498 MB / 0.6497 GB, free: 4.617 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-05/1.195, allocations: 8 kB / 0.6497 GB, free: 4.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.007085/1.202, allocations: 1.736 MB / 0.6514 GB, free: 2.859 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/1.203, allocations: 16 kB / 0.6514 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.44e-05/1.203, allocations: 16 kB / 0.6515 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005354/1.208, allocations: 0.5957 MB / 0.652 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/1.21, allocations: 247.6 kB / 0.6523 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004271/1.214, allocations: 1.827 MB / 0.6541 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/1.217, allocations: 111.9 kB / 0.6542 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/1.217, allocations: 75.94 kB / 0.6542 GB, free: 15.92 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.001205/1.218, allocations: 343.5 kB / 0.6546 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000677/1.219, allocations: 106.7 kB / 0.6547 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/1.231, allocations: 4.47 MB / 0.659 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/1.231, allocations: 59.94 kB / 0.6591 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/1.231, allocations: 3.984 kB / 0.6591 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-05/1.231, allocations: 3.984 kB / 0.6591 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/1.248, allocations: 6.262 MB / 0.6652 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/1.248, allocations: 3.938 kB / 0.6652 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.249, allocations: 151.8 kB / 0.6654 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003641/1.253, allocations: 0.6585 MB / 0.666 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/1.253, allocations: 27.98 kB / 0.666 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00334/1.256, allocations: 1.78 MB / 0.6678 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.256, allocations: 4 kB / 0.6678 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/1.268, allocations: 3.943 MB / 0.6716 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/1.269, allocations: 362.2 kB / 0.672 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006153/1.27, allocations: 31.75 kB / 0.672 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/1.272, allocations: 83.78 kB / 0.6721 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003148/1.272, allocations: 77.08 kB / 0.6722 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/1.272, allocations: 35.98 kB / 0.6722 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001981/1.274, allocations: 0.6588 MB / 0.6728 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.71e-07/1.274, allocations: 0 / 0.6728 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008692/1.283, allocations: 1.456 MB / 0.6743 GB, free: 11.13 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.01236/1.295, allocations: 1.607 MB / 0.6758 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006438/1.302, allocations: 1.656 MB / 0.6774 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.302, allocations: 0 / 0.6774 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003904/1.306, allocations: 1.208 MB / 0.6786 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005873/1.312, allocations: 0.5195 MB / 0.6791 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/1.324, allocations: 4.472 MB / 0.6835 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/1.326, allocations: 1.383 MB / 0.6848 GB, free: 228 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000664/1.327, allocations: 103.4 kB / 0.6849 GB, free: 128 kB / 0.5137 GB Notification: Performance of SimCode: time 1.413e-06/1.327, allocations: 0 / 0.6849 GB, free: 128 kB / 0.5137 GB Notification: Performance of Templates: time 0.4464/1.773, allocations: 51.88 MB / 0.7356 GB, free: 198.4 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