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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 197.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 227.2 MB / 245 MB, free: 5.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001145, allocations: 94.66 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3721/0.3721, allocations: 45.23 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002992, allocations: 8.219 kB / 468.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3649, allocations: 63.24 MB / 0.5192 GB, free: 37.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.35/5.715, allocations: 2.793 GB / 3.313 GB, free: 175.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/5.715, allocations: 93.33 kB / 3.313 GB, free: 175.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.376/8.091, allocations: 0.6636 GB / 3.976 GB, free: 47.75 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.084e-06/8.091, allocations: 0 / 3.976 GB, free: 47.75 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001201/8.091, allocations: 29 kB / 3.976 GB, free: 47.75 MB / 0.5417 GB 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.009875/8.101, allocations: 2.503 MB / 3.979 GB, free: 46.57 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/8.101, allocations: 9.75 kB / 3.979 GB, free: 46.57 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/8.106, allocations: 0.5805 MB / 3.979 GB, free: 46.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/8.108, allocations: 0.8332 MB / 3.98 GB, free: 46.22 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/8.108, allocations: 211.7 kB / 3.98 GB, free: 46.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/8.109, allocations: 101 kB / 3.98 GB, free: 46.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004322/8.113, allocations: 1.857 MB / 3.982 GB, free: 45.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-05/8.113, allocations: 7.062 kB / 3.982 GB, free: 45.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/8.113, allocations: 47.62 kB / 3.982 GB, free: 45.68 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.037e-05/8.113, allocations: 48.75 kB / 3.982 GB, free: 45.68 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003832/8.117, allocations: 1.671 MB / 3.984 GB, free: 45.67 MB / 0.5417 GB 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.009495/8.127, allocations: 8.584 MB / 3.992 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/8.129, allocations: 1.019 MB / 3.993 GB, free: 40.01 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03769/8.167, allocations: 26.88 MB / 4.02 GB, free: 19.26 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/8.167, allocations: 40.09 kB / 4.02 GB, free: 19.22 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009863/8.168, allocations: 123.7 kB / 4.02 GB, free: 19.17 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 5.81e-06/8.168, allocations: 3.375 kB / 4.02 GB, free: 19.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=78): time 0.01005/8.178, allocations: 3.584 MB / 4.023 GB, free: 18.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/8.178, allocations: 111.1 kB / 4.023 GB, free: 18.45 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/8.18, allocations: 0.745 MB / 4.024 GB, free: 18.31 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.101e-05/8.18, allocations: 39.33 kB / 4.024 GB, free: 18.28 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/8.181, allocations: 0.5694 MB / 4.025 GB, free: 33.96 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/8.181, allocations: 273.5 kB / 4.025 GB, free: 33.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/8.181, allocations: 25.72 kB / 4.025 GB, free: 33.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002065/8.181, allocations: 415.4 kB / 4.025 GB, free: 33.48 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008411/8.182, allocations: 440 kB / 4.026 GB, free: 33.48 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/8.183, allocations: 1.007 MB / 4.027 GB, free: 32.77 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/8.184, allocations: 0.5846 MB / 4.027 GB, free: 32.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/8.184, allocations: 6.531 kB / 4.027 GB, free: 32.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003066/8.187, allocations: 1.755 MB / 4.029 GB, free: 32.65 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/8.187, allocations: 14.25 kB / 4.029 GB, free: 32.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/8.187, allocations: 18.16 kB / 4.029 GB, free: 32.65 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002545/8.19, allocations: 0.628 MB / 4.03 GB, free: 32.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007048/8.191, allocations: 253.6 kB / 4.03 GB, free: 32.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/8.193, allocations: 1.853 MB / 4.032 GB, free: 31.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/8.194, allocations: 132.1 kB / 4.032 GB, free: 31.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/8.194, allocations: 74.81 kB / 4.032 GB, free: 31.56 MB / 0.5573 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,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,3 28} Notification: Performance of prepare postOptimizeDAE: time 0.0006126/8.195, allocations: 336.7 kB / 4.032 GB, free: 31.44 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/8.195, allocations: 104.3 kB / 4.032 GB, free: 31.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/8.2, allocations: 4.542 MB / 4.037 GB, free: 30.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/8.2, allocations: 55.91 kB / 4.037 GB, free: 30.93 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/8.2, allocations: 3.75 kB / 4.037 GB, free: 30.93 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/8.2, allocations: 6 kB / 4.037 GB, free: 30.93 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006759/8.207, allocations: 6.309 MB / 4.043 GB, free: 30.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/8.207, allocations: 0 / 4.043 GB, free: 30.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/8.207, allocations: 172.1 kB / 4.043 GB, free: 30.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/8.209, allocations: 0.6798 MB / 4.044 GB, free: 30.26 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/8.209, allocations: 30.56 kB / 4.044 GB, free: 30.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/8.211, allocations: 1.796 MB / 4.046 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/8.211, allocations: 0 / 4.046 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004468/8.215, allocations: 3.999 MB / 4.049 GB, free: 28.23 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007441/8.216, allocations: 426.9 kB / 4.05 GB, free: 27.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/8.216, allocations: 27.08 kB / 4.05 GB, free: 27.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006703/8.217, allocations: 85.09 kB / 4.05 GB, free: 27.89 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/8.217, allocations: 76.8 kB / 4.05 GB, free: 27.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/8.217, allocations: 36.91 kB / 4.05 GB, free: 27.87 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008049/8.218, allocations: 0.6514 MB / 4.051 GB, free: 27.59 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/8.218, allocations: 0 / 4.051 GB, free: 27.59 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006317/8.224, allocations: 1.555 MB / 4.052 GB, free: 27.24 MB / 0.5573 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,$cse25.phase,$cse25.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007732/8.232, allocations: 2.177 MB / 4.054 GB, free: 26.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00292/8.235, allocations: 1.693 MB / 4.056 GB, free: 26.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/8.235, allocations: 0 / 4.056 GB, free: 26.09 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/8.236, allocations: 1.22 MB / 4.057 GB, free: 25.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/8.239, allocations: 0.4948 MB / 4.058 GB, free: 25.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/8.243, allocations: 4.456 MB / 4.062 GB, free: 22.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007903/8.244, allocations: 1.423 MB / 4.063 GB, free: 22.13 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001232/8.245, allocations: 0.5901 MB / 4.064 GB, free: 22.08 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/8.245, allocations: 96.36 kB / 4.064 GB, free: 22.07 MB / 0.5573 GB Notification: Performance of SimCode: time 1.283e-06/8.245, allocations: 0 / 4.064 GB, free: 22.07 MB / 0.5573 GB Notification: Performance of Templates: time 0.07423/8.32, allocations: 56.02 MB / 4.119 GB, free: 3.547 MB / 0.573 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches