Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 180.8 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009431/0.0009432, allocations: 91.67 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2216/0.2216, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.088e-05/4.091e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1504, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.376/6.527, allocations: 2.792 GB / 3.294 GB, free: 140 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/6.527, allocations: 83.11 kB / 3.294 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.227/8.754, allocations: 0.6615 GB / 3.956 GB, free: 52.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.432e-06/8.754, allocations: 0 / 3.956 GB, free: 52.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.023e-05/8.754, allocations: 30.39 kB / 3.956 GB, free: 52.77 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.008324/8.762, allocations: 2.384 MB / 3.958 GB, free: 51.57 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/8.762, allocations: 13.47 kB / 3.958 GB, free: 51.57 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004704/8.767, allocations: 0.5788 MB / 3.958 GB, free: 51.51 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/8.769, allocations: 0.8329 MB / 3.959 GB, free: 51.21 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/8.769, allocations: 213.1 kB / 3.959 GB, free: 51.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/8.769, allocations: 102.9 kB / 3.96 GB, free: 51.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003456/8.773, allocations: 1.857 MB / 3.961 GB, free: 50.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/8.773, allocations: 7.406 kB / 3.961 GB, free: 50.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/8.773, allocations: 43.19 kB / 3.961 GB, free: 50.68 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.518e-05/8.773, allocations: 46.81 kB / 3.961 GB, free: 50.68 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/8.776, allocations: 1.608 MB / 3.963 GB, free: 50.66 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.008093/8.784, allocations: 8.608 MB / 3.971 GB, free: 45.01 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/8.786, allocations: 0.9815 MB / 3.972 GB, free: 44.98 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/8.787, allocations: 368.4 kB / 3.973 GB, free: 44.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03398/8.821, allocations: 25.08 MB / 3.997 GB, free: 26.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/8.821, allocations: 42.62 kB / 3.997 GB, free: 26.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001037/8.822, allocations: 127.3 kB / 3.997 GB, free: 25.99 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 3.877e-06/8.822, allocations: 0 / 3.997 GB, free: 25.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=78): time 0.007524/8.829, allocations: 3.025 MB / 4 GB, free: 25.09 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/8.829, allocations: 121.8 kB / 4 GB, free: 24.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009612/8.83, allocations: 0.7254 MB / 4.001 GB, free: 24.65 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.346e-05/8.831, allocations: 41.52 kB / 4.001 GB, free: 24.61 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/8.831, allocations: 0.5683 MB / 4.002 GB, free: 24.15 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/8.831, allocations: 281.5 kB / 4.002 GB, free: 23.94 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/8.831, allocations: 23.97 kB / 4.002 GB, free: 23.92 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001216/8.831, allocations: 409.1 kB / 4.002 GB, free: 23.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/8.832, allocations: 377.5 kB / 4.003 GB, free: 23.43 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007803/8.832, allocations: 0.9281 MB / 4.004 GB, free: 22.53 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006643/8.833, allocations: 0.5233 MB / 4.004 GB, free: 22.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/8.833, allocations: 7.531 kB / 4.004 GB, free: 22.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002205/8.835, allocations: 1.605 MB / 4.006 GB, free: 21.66 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/8.835, allocations: 15.75 kB / 4.006 GB, free: 21.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/8.835, allocations: 18.97 kB / 4.006 GB, free: 21.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/8.837, allocations: 0.5406 MB / 4.006 GB, free: 21.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/8.838, allocations: 257.1 kB / 4.007 GB, free: 21.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/8.84, allocations: 1.747 MB / 4.008 GB, free: 20.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/8.841, allocations: 132.2 kB / 4.008 GB, free: 20.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/8.841, allocations: 81.42 kB / 4.009 GB, free: 20.11 MB / 0.5417 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 () * 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.0002226/8.841, allocations: 207.1 kB / 4.009 GB, free: 19.93 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/8.841, allocations: 104 kB / 4.009 GB, free: 19.88 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/8.845, allocations: 4.557 MB / 4.013 GB, free: 17.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-05/8.845, allocations: 63.62 kB / 4.013 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/8.845, allocations: 0 / 4.013 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/8.845, allocations: 11.66 kB / 4.013 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005698/8.851, allocations: 6.26 MB / 4.019 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/8.851, allocations: 0 / 4.019 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/8.852, allocations: 175.8 kB / 4.02 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/8.853, allocations: 0.7875 MB / 4.02 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.76e-05/8.853, allocations: 27.53 kB / 4.02 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/8.855, allocations: 1.785 MB / 4.022 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/8.855, allocations: 3.953 kB / 4.022 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/8.858, allocations: 3.797 MB / 4.026 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008959/8.859, allocations: 422.7 kB / 4.026 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/8.859, allocations: 19.53 kB / 4.026 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000727/8.86, allocations: 96.28 kB / 4.026 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/8.86, allocations: 73.39 kB / 4.026 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/8.86, allocations: 37.36 kB / 4.027 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000925/8.861, allocations: 0.6443 MB / 4.027 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/8.861, allocations: 0 / 4.027 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007575/8.869, allocations: 1.535 MB / 4.029 GB, free: 10.39 MB / 0.5417 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 () * 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.01026/8.879, allocations: 2.162 MB / 4.031 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00286/8.882, allocations: 1.554 MB / 4.032 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/8.882, allocations: 7.938 kB / 4.032 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001505/8.884, allocations: 1.159 MB / 4.033 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/8.887, allocations: 0.4938 MB / 4.034 GB, free: 8.102 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/8.892, allocations: 2.856 MB / 4.037 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009951/8.893, allocations: 1.424 MB / 4.038 GB, free: 4.316 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001562/8.894, allocations: 0.5939 MB / 4.039 GB, free: 3.949 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/8.895, allocations: 98.42 kB / 4.039 GB, free: 3.859 MB / 0.5417 GB Notification: Performance of SimCode: time 9.51e-07/8.895, allocations: 0 / 4.039 GB, free: 3.859 MB / 0.5417 GB Notification: Performance of Templates: time 0.4364/9.331, allocations: 58.42 MB / 4.096 GB, free: 66.85 MB / 0.5573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches