Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001026, allocations: 181 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007764/0.0007763, allocations: 94.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1856/0.1856, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002641/0.0002641, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09344, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.228/6.322, allocations: 2.787 GB / 3.266 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/6.322, allocations: 86.77 kB / 3.266 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.841/9.163, allocations: 0.6577 GB / 3.924 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.216e-06/9.163, allocations: 0 / 3.924 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000233/9.163, allocations: 26.3 kB / 3.924 GB, free: 13.8 MB / 0.5261 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.01775/9.181, allocations: 2.493 MB / 3.926 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.944e-05/9.181, allocations: 8.031 kB / 3.926 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006442/9.188, allocations: 0.5761 MB / 3.927 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/9.191, allocations: 0.8356 MB / 3.928 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004319/9.192, allocations: 209.5 kB / 3.928 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006549/9.193, allocations: 100 kB / 3.928 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007052/9.2, allocations: 1.866 MB / 3.93 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.089e-05/9.2, allocations: 7.938 kB / 3.93 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004407/9.2, allocations: 44 kB / 3.93 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/9.2, allocations: 49.98 kB / 3.93 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005701/9.206, allocations: 1.662 MB / 3.931 GB, free: 5.73 MB / 0.5261 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.5268/9.733, allocations: 8.603 MB / 3.94 GB, free: 45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/9.737, allocations: 1.033 MB / 3.941 GB, free: 44.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05014/9.787, allocations: 25.02 MB / 3.965 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/9.787, allocations: 42.73 kB / 3.965 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001875/9.789, allocations: 128 kB / 3.965 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 1.682e-05/9.789, allocations: 0 / 3.965 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.01591/9.805, allocations: 3.576 MB / 3.969 GB, free: 25.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/9.805, allocations: 115.3 kB / 3.969 GB, free: 25.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/9.807, allocations: 0.7462 MB / 3.97 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/9.808, allocations: 39.98 kB / 3.97 GB, free: 25.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/9.808, allocations: 0.5595 MB / 3.97 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/9.808, allocations: 286.5 kB / 3.971 GB, free: 24.85 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/9.809, allocations: 28.5 kB / 3.971 GB, free: 24.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002419/9.809, allocations: 404.4 kB / 3.971 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009545/9.81, allocations: 441.1 kB / 3.972 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/9.811, allocations: 1.002 MB / 3.972 GB, free: 23.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/9.812, allocations: 0.5901 MB / 3.973 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/9.812, allocations: 6.281 kB / 3.973 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00356/9.816, allocations: 1.755 MB / 3.975 GB, free: 23.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/9.816, allocations: 11.94 kB / 3.975 GB, free: 23.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/9.816, allocations: 24.56 kB / 3.975 GB, free: 23.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00267/9.819, allocations: 0.6259 MB / 3.975 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008222/9.819, allocations: 251.4 kB / 3.976 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/9.822, allocations: 1.854 MB / 3.977 GB, free: 22.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/9.823, allocations: 124.3 kB / 3.978 GB, free: 22.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/9.824, allocations: 75.08 kB / 3.978 GB, free: 22.63 MB / 0.5261 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.0008092/9.824, allocations: 348.1 kB / 3.978 GB, free: 22.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/9.825, allocations: 102.6 kB / 3.978 GB, free: 22.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005787/9.83, allocations: 4.53 MB / 3.983 GB, free: 22.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.246e-05/9.83, allocations: 53.42 kB / 3.983 GB, free: 22.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/9.83, allocations: 0 / 3.983 GB, free: 22.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/9.831, allocations: 11.25 kB / 3.983 GB, free: 22.06 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008339/9.839, allocations: 6.317 MB / 3.989 GB, free: 21.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/9.839, allocations: 0 / 3.989 GB, free: 21.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/9.839, allocations: 169.6 kB / 3.989 GB, free: 21.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00179/9.841, allocations: 0.6769 MB / 3.99 GB, free: 21.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/9.841, allocations: 28.17 kB / 3.99 GB, free: 21.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/9.843, allocations: 1.795 MB / 3.991 GB, free: 20.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/9.843, allocations: 2.406 kB / 3.991 GB, free: 20.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005341/9.848, allocations: 3.992 MB / 3.995 GB, free: 20.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/9.849, allocations: 433.6 kB / 3.996 GB, free: 19.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/9.849, allocations: 14.19 kB / 3.996 GB, free: 19.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007161/9.85, allocations: 91.88 kB / 3.996 GB, free: 19.81 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/9.85, allocations: 75.12 kB / 3.996 GB, free: 19.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/9.85, allocations: 35.86 kB / 3.996 GB, free: 19.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001031/9.851, allocations: 0.6541 MB / 3.997 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/9.851, allocations: 1.094 kB / 3.997 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01009/9.862, allocations: 1.547 MB / 3.998 GB, free: 19.63 MB / 0.5261 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.01296/9.875, allocations: 2.148 MB / 4 GB, free: 19.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003906/9.879, allocations: 1.696 MB / 4.002 GB, free: 19.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/9.879, allocations: 1.422 kB / 4.002 GB, free: 19.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/9.88, allocations: 1.219 MB / 4.003 GB, free: 19.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/9.883, allocations: 0.4933 MB / 4.003 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007225/9.89, allocations: 4.45 MB / 4.008 GB, free: 17.56 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/9.892, allocations: 1.422 MB / 4.009 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001734/9.893, allocations: 0.5931 MB / 4.01 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/9.894, allocations: 98.91 kB / 4.01 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of SimCode: time 1.723e-06/9.894, allocations: 2.406 kB / 4.01 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.08548/9.979, allocations: 55.96 MB / 4.065 GB, free: 13.74 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumesPressureStates/TestMixingVolumesPressureStates.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches