Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001307, allocations: 199 kB / 8.767 MB, free: 316 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009853/0.0009856, allocations: 102.8 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 45.14 MB / 383.7 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.669e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1272, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9403/1.067, allocations: 303.6 MB / 0.8008 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/1.068, allocations: 82.77 kB / 0.8009 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2887/1.356, allocations: 153.8 MB / 0.9511 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.054e-06/1.356, allocations: 7.938 kB / 0.9511 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.545e-05/1.357, allocations: 23.98 kB / 0.9511 GB, free: 3.016 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002686/1.359, allocations: 1.069 MB / 0.9522 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.359, allocations: 8.031 kB / 0.9522 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007607/1.36, allocations: 126.8 kB / 0.9523 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/1.361, allocations: 0.608 MB / 0.9529 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/1.362, allocations: 220.2 kB / 0.9531 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/1.362, allocations: 47.94 kB / 0.9532 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001346/1.363, allocations: 0.8005 MB / 0.954 GB, free: 16 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3093/1.672, allocations: 1.144 MB / 0.9551 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/1.672, allocations: 7.875 kB / 0.9551 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.805e-05/1.673, allocations: 7.688 kB / 0.9551 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.696e-05/1.673, allocations: 40.86 kB / 0.9551 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005413/1.678, allocations: 6.671 MB / 0.9616 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/1.678, allocations: 262.6 kB / 0.9619 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/1.679, allocations: 138.5 kB / 0.962 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002128/1.681, allocations: 2.842 MB / 0.9648 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/1.681, allocations: 37.25 kB / 0.9648 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 1.532e-06/1.681, allocations: 0 / 0.9648 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.001876/1.683, allocations: 0.8728 MB / 0.9657 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/1.683, allocations: 59.77 kB / 0.9657 GB, free: 116 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000866/1.684, allocations: 0.6427 MB / 0.9664 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/1.684, allocations: 26.73 kB / 0.9664 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/1.684, allocations: 0.5998 MB / 0.967 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.688e-05/1.684, allocations: 111.4 kB / 0.9671 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/1.684, allocations: 2.812 kB / 0.9671 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.684, allocations: 384.8 kB / 0.9675 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/1.685, allocations: 204.7 kB / 0.9677 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000733/1.685, allocations: 0.9226 MB / 0.9686 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007937/1.686, allocations: 424.7 kB / 0.969 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/1.686, allocations: 8.562 kB / 0.969 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001819/1.688, allocations: 1.031 MB / 0.97 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/1.688, allocations: 16.67 kB / 0.97 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-05/1.688, allocations: 30.92 kB / 0.97 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.55e-05/1.688, allocations: 36.84 kB / 0.9701 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007848/1.689, allocations: 277.4 kB / 0.9703 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.823e-05/1.689, allocations: 50.5 kB / 0.9704 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/1.69, allocations: 37.47 kB / 0.9704 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/1.69, allocations: 75.77 kB / 0.9705 GB, free: 114.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001675/1.69, allocations: 170.5 kB / 0.9706 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/1.69, allocations: 75.62 kB / 0.9707 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007212/1.691, allocations: 352.4 kB / 0.971 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/1.691, allocations: 8.688 kB / 0.9711 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.691, allocations: 0 / 0.9711 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.691, allocations: 1.5 kB / 0.9711 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/1.692, allocations: 0.876 MB / 0.9719 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.692, allocations: 1.094 kB / 0.9719 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/1.693, allocations: 56.78 kB / 0.972 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/1.693, allocations: 6.453 kB / 0.972 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/1.693, allocations: 6.828 kB / 0.972 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/1.693, allocations: 3.125 kB / 0.972 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.693, allocations: 2.531 kB / 0.972 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000764/1.693, allocations: 0.5326 MB / 0.9725 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/1.694, allocations: 191 kB / 0.9727 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.991e-05/1.694, allocations: 1.578 kB / 0.9727 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/1.694, allocations: 18.95 kB / 0.9727 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/1.694, allocations: 17.56 kB / 0.9727 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/1.694, allocations: 22.41 kB / 0.9727 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005374/1.695, allocations: 449.7 kB / 0.9732 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/1.695, allocations: 0 / 0.9732 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001144/1.696, allocations: 291.3 kB / 0.9734 GB, free: 113.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008038/1.697, allocations: 422 kB / 0.9739 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000832/1.698, allocations: 0.5415 MB / 0.9744 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.698, allocations: 2.062 kB / 0.9744 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/1.698, allocations: 115.2 kB / 0.9745 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/1.699, allocations: 254.8 kB / 0.9747 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/1.701, allocations: 0.9918 MB / 0.9757 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/1.701, allocations: 1.009 MB / 0.9767 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009241/1.702, allocations: 289.2 kB / 0.977 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/1.702, allocations: 72.56 kB / 0.977 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/1.702, allocations: 0 / 0.977 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.0193/1.722, allocations: 11.71 MB / 0.9885 GB, free: 111.8 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches